Instance Method

objectForInfoDictionaryKey:

Returns the value associated with the specified key in the receiver's information property list.

Declaration

- (id)objectForInfoDictionaryKey:(NSString *)key;

Parameters

key

A key in the receiver's property list.

Return Value

The value associated with key in the receiver's property list (Info.plist). The localized value of a key is returned when one is available.

Discussion

Use of this method is preferred over other access methods because it returns the localized value of a key when one is available.

See Also

Getting Bundle Information

bundleURL

The full URL of the receiver’s bundle directory.

bundlePath

The full pathname of the receiver’s bundle directory.

bundleIdentifier

The receiver’s bundle identifier.

infoDictionary

A dictionary, constructed from the bundle’s Info.plist file, that contains information about the receiver.