CFBundleGetBundleWithIdentifier | Header: CFBundle.h |
Locate a bundle instance given its user specified identifier.
CFBundleRef CFBundleGetBundleWithIdentifier ( CFStringRef bundleID );
A reference value of type CFStringRef containing the identifier of the bundle instance you wish to locate.
A reference value of type CFBundleRef if the instance is found, NULL if not.
In order for a bundle to be located using its identifier, the bundle instance must have already been created.
Bundle identifiers are created by entering a value for the key CFBundleIdentifier in your CustomInfo.plist file.
In order to guarantee uniqueness, bundle identifiers take the form of Java style package names, e.g. "com.apple.foo.bar". Refer to CFBundle's conceptual documentation for details on using bundle identifiers.