Returns an array of CFURL objects describing the locations of all resources in a bundle of the specified type without needing to create a CFBundle object.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The location of a bundle to examine.
The abstract type of the resources to locate. The type is expressed as a filename extension, such as
The name of the subdirectory of the bundle’s resources directory to search. Pass
NULLto search the standard CFBundle resource locations.
A CFArray object containing the CFURL objects of the requested resources. Ownership follows the The Create Rule.
This function provides a means to obtain an array containing the locations of all of the requested resources without first creating a CFBundle object. However, since CFBundle objects cache search results, it is faster to create a CFBundle object if you need to repeatedly access resources.
Note that file names are case-sensitive, even on file systems (such as HFS+) that are not case sensitive with regards to file names.