Function

CFBundleCloseBundleResourceMap

Closes an open resource map for a bundle.

Declaration

void CFBundleCloseBundleResourceMap(CFBundleRef bundle, CFBundleRefNum refNum);

Parameters

bundle

The bundle whose resource map is referenced by refNum.

refNum

The reference number for a resource map to close.

Discussion

You open a resource map using either CFBundleOpenBundleResourceFiles or CFBundleOpenBundleResourceMap.

See Also

Locating Bundle Resources

CFBundleCopyResourceURL

Returns the location of a resource contained in the specified bundle.

CFBundleCopyResourceURLInDirectory

Returns the location of a resource contained in the specified bundle directory without requiring the creation of a CFBundle object.

CFBundleCopyResourceURLsOfType

Assembles an array of URLs specifying all of the resources of the specified type found in a bundle.

CFBundleCopyResourceURLsOfTypeInDirectory

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.

CFBundleCopyResourceURLForLocalization

Returns the location of a localized resource in a bundle.

CFBundleCopyResourceURLsOfTypeForLocalization

Returns an array containing copies of the URL locations for a specified bundle, resource, and localization name.

CFBundleOpenBundleResourceFiles

Opens the non-localized and localized resource files (if any) for a bundle in separate resource maps.

Deprecated
CFBundleOpenBundleResourceMap

Opens the non-localized and localized resource files (if any) for a bundle in a single resource map.

Deprecated