CFBundleOpenBundleResourceMap(_:)
Opens the non-localized and localized resource files (if any) for a bundle in a single resource map.
Declaration
func CFBundleOpenBundleResourceMap(_ bundle: CFBundle!) -> CFBundleRefNumParameters
- bundle:
The bundle whose resource map you want to open.
Return Value
A distinct reference number for the resource map.
Discussion
Creates and makes current a single read-only resource map containing the non-localized and localized resource files. If this function is called multiple times, it opens the files multiple times and returns distinct reference numbers for each. Use CFBundleCloseBundleResourceMap(_:_:) to close a resource map.
See Also
Locating Bundle Resources
CFBundleCloseBundleResourceMap(_:_:)CFBundleCopyResourceURL(_:_:_:_:)CFBundleCopyResourceURLInDirectory(_:_:_:_:)CFBundleCopyResourceURLsOfType(_:_:_:)CFBundleCopyResourceURLsOfTypeInDirectory(_:_:_:)CFBundleCopyResourceURLForLocalization(_:_:_:_:_:)CFBundleCopyResourceURLsOfTypeForLocalization(_:_:_:_:)CFBundleOpenBundleResourceFiles(_:_:_:)