How to get App Identifier within code in Cocoa Framework
I want to get an App Identifier within code in 开发者_开发知识库Cocoa Framework
Is have any method return App Identifier ?
I think the best approach is to simply do:
NSString *identifier = [[NSBundle mainBundle] bundleIdentifier];
It might internally fetch the key from the dictionary, but looks much cleaner.
精彩评论