开发者

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

开发者 https://www.devze.com 2023-01-25 05:50 出处:网络
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] bundleIdentif

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

精彩评论

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