![]() |
CFBundleCopyResourceURLsOfTypeInDirectory | Header: CFBundle.h |
Obtains an array of CFURLrefs describing the locations of all resources in a bundle of the specified type.
CFArrayRef CFBundleCopyResourceURLsOfTypeInDirectory ( CFURLRef bundleURL, CFStringRef resourceType, CFStringRef subDirName );
A reference value of type CFBundleRef indicating the bundle whose resources you wish to search.
A reference value of type CFStringRef indicating the abstract type of the resources you wish to locate.
A reference value of type CFStringRef indicating a specific subdirectory of the bundle's Resources directory you wish to search. Pass NULL to search the standard CFBundle resource locations.
A reference value of type CFArrayRef containing the CFURLRefs of the requested resources.
This function provides a means to obtain an array containing the locations of all of the requested resources without first creating an instance of their enclosing bundles.