iOS APP 应用名、版本号、build号、Bundle Id

2019-05-31  本文已影响0人  osnail

应用名

[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleName"];

版本号

[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"];

build号

[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"];

Bundle Id

[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleIdentifier"];
上一篇 下一篇

猜你喜欢

热点阅读