开发者

iPhone MonoTouch - Get Version of Bundle

In MonoTouch, how can we get the version of the bundle currently run开发者_如何学JAVAning?

My closest guess is somewhere in :

NSBundle.MainBundle.ObjectForInfoDictionary


Use the following code to get the current version of the bundle:

NSBundle.MainBundle.ObjectForInfoDictionary("CFBundleVersion").ToString();
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜