iphone - How To Get App Version Number From User? -


i want log app version number when user sends feedback, in email.

how can number?

nsdictionary* infodict = [[nsbundle mainbundle] infodictionary]; nsstring* versionnum = [infodict objectforkey:@"cfbundleversion"]; nsstring *appname = [infodict objectforkey:@"cfbundledisplayname"]; nsstring *text = [nsstring stringwithformat:@"%@ %@",appname,versionnum]; 

you can send both appname , version number using code.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -