Nsdictionary *infodictionary = [[NSBundle mainbundle] infodictionary];
Cfshow (infodictionary);
App Name
NSString *app_name = [infodictionary objectforkey:@ "Cfbundledisplayname"];
App version
NSString *app_version = [infodictionary objectforkey:@ "cfbundleshortversionstring"];
App build version
NSString *app_build = [infodictionary objectforkey:@ "cfbundleversion"];
//Phone alias: User-defined name
nsstring* userphonename = [[Uidevice currentdevice] name];
NSLog (@ "phone alias:%@", userphonename);
Phone serial number
nsstring* identifiernumber = [[Uidevice currentdevice] uniqueidentifier];
NSLog (@ "Mobile serial number:%@", identifiernumber);
//Mobile phone system version
nsstring* phoneversion = [[Uidevice currentdevice] systemversion];
NSLog (@ "mobile phone system version:%@", phoneversion);
//Phone model
nsstring* Phonemodel = [[Uidevice currentdevice] model];
NSLog (@ "mobile phone Model:%@", Phonemodel);
//local model (internationalized region name)
nsstring* Localphonemodel = [[Uidevice currentdevice] Localizedmodel];
NSLog (@ "internationalized Zone Name:%@", Localphonemodel);
Nsdictionary *infodictionary = [[NSBundle mainbundle] infodictionary];
Current app Name
Current app version number int type
NSString *appcurversionnum = [infodictionary objectforkey:@ "cfbundleversion"];
NSLog (@ "Current application version number:%@", appcurversionnum);
NSString *appcurname = [infodictionary objectforkey:@ "Cfbundledisplayname"];
NSLog (@ "Current application name:%@", appcurname);
Current application version such as: 1.0.1
NSString *appcurversion = [infodictionary objectforkey:@ "cfbundleshortversionstring"];
NSLog (@ "Current application software version:%@", appcurversion);
Device Name
nsstring* devicename = [[Uidevice currentdevice] systemName];
NSLog (@ "Device name:%@", devicename);
IOS Get Common information