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
精彩评论