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();
精彩评论