开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜