开发者

Is there a way to get the Bundle ID at runtime?

Is there a way to get the Bundle ID from Info.plist at runtime? Something like [[UIApplication sharedApplication] bundleIdentifier] would be grea开发者_Python百科t.


[[NSBundle mainBundle] bundleIdentifier]


Swift 3

Bundle.main.bundleIdentifier
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜