CFBundleCopyInfoDictionaryForURL(_:)
Returns the information dictionary for a given URL location.
Declaration
func CFBundleCopyInfoDictionaryForURL(_ url: CFURL!) -> CFDictionary!Parameters
- url:
A CFURL object describing the location of a file.
Return Value
A CFDictionary object containing url’s information dictionary. Ownership follows the The Create Rule.
Discussion
For a directory URL, this is equivalent to CFBundleCopyInfoDictionaryInDirectory(_:). For a plain file URL representing an unbundled application, this function will attempt to read an information dictionary either from the (__TEXT, __info_plist) section of the file (for a Mach-O file) or from a plst resource.
See Also
Getting Bundle Properties
CFBundleCopyBundleURL(_:)CFBundleGetDevelopmentRegion(_:)CFBundleGetIdentifier(_:)CFBundleGetInfoDictionary(_:)CFBundleGetLocalInfoDictionary(_:)CFBundleGetValueForInfoDictionaryKey(_:_:)CFBundleCopyInfoDictionaryInDirectory(_:)CFBundleGetPackageInfo(_:_:_:)CFBundleGetPackageInfoInDirectory(_:_:_:)CFBundleCopyExecutableArchitectures(_:)CFBundleCopyExecutableArchitecturesForURL(_:)CFBundleGetVersionNumber(_:)