Monday, April 29, 2013

NSBundle bundleIdentifier example ios


bundleIdentifier

Returns the receiver’s bundle identifier.
- (NSString *)bundleIdentifier
Return Value of [NSBundle bundleIdentifier]
The receiver’s bundle identifier, which is defined by the CFBundleIdentifier key in the bundle’s information property list.
Example of [NSBundle bundleIdentifier]
NSString *bundleIdentifier = [[NSBundle mainBundle] bundleIdentifier];