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

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -