QQ网名大全

如何动态获取ios工程的Bundle version版本号,bundleID,appName

let info = Bundle.main.infoDictionary

下面是key
CFBundleDisplayName //appName

CFBundleIdentifier //appID

CFBundleShortVersionString //app version

CFBundleVersion //app build

在工程里找到 Info.plist, 右键->open as-> source code
里面有你想要的各种key
佚名
2024-05-26 10:51:14
最佳回答
类似问题(10)