开发者

iPhone MonoTouch - Get Version of Bundle

开发者 https://www.devze.com 2023-02-25 08:03 出处:网络
In MonoTouch, how can we get the version of the bundle currently run开发者_如何学JAVAning? My closest guess is somewhere in :

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

精彩评论

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