Returns a bundle’s information dictionary.
- iOS 2.0+
- macOS 10.0+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The bundle to examine.
A CFDictionary object containing the data stored in the bundle’s information property list (the
Info file). This is a global information dictionary. CFBundle may add extra keys to this dictionary for its own use. Ownership follows the The Get Rule.
You should typically use
CFBundle rather than retrieving values directly from the info dictionary because the function will return localized values if any are available. Use
CFBundle only if you know that the key you are interested in will not be localized.