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
Post a Comment