开发者

ipad - How can I control the version of my iPad app?

I am not talking about the 开发者_JAVA技巧formal version control (svn, etc) for my iPad app.

I wish someone could tell me where in my app to set the version of the app.

For example, my app's product name is Go Here. To indicate the version, where should i set the version? bundle version in the plist? I need this version thing just in case that in the future, if I update the app store for newer version, people can download and update.

Should I modify the bundle version in the plist, but keep the product name and target name the same? If I make a newer version, I just update the bundle version only?

Thanks


You just need to edit the "Bundle Version" (CFBundleVersion) in your Info.plist. That's it.

BTW, haven't tested, but you should be able to get the version at runtime with this:

versionString = [[[NSBundle mainBundle] infoDictionary] objectForKey:kCFBundleVersionKey];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜