Type Method bundle With Path:
object that corresponds to the specified directory.
iOS 2.0+ macOS 10.0+ Mac Catalyst 13.0+ Beta tvOS 9.0+ watchOS 2.0+ Declaration + ( ) instancetype bundleWithPath:( ) * NSString path;
The path to a directory. This must be a full pathname for a directory; if it contains any symbolic links, they must be resolvable.
object that corresponds to
does not identify an accessible bundle directory.
full Path Discussion
This method allocates and initializes the returned object if there is no existing
, in which case it returns the existing object.
full Path See Also Creating and Initializing a Bundle + bundle With URL:
object that corresponds to the specified file URL.
NSBundle + bundle For Class:
object with which the specified class is associated.
NSBundle - init With URL:
object initialized to correspond to the specified file URL.
NSBundle - init With Path:
object initialized to correspond to the specified directory.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
Learn more about using Apple's beta software