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

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

jQuery Ajax Render Fragments OR Whole Page -

java - Why is BlockingQueue.take() not releasing the thread? -