NSString *strname=[[uidevice currentdevice] name];
NSLog (@ " device name :%@", strname);
NSString *strsysname = [[Uidevice currentdevice] systemName];
NSLog (@ " system name:%@", strsysname); e.g. @ "IOS"
NSString *strsysversion = [[Uidevice currentdevice] systemversion];
NSLog (@ " system version number:%@", strsysversion); e.g. @ "4.0"
NSString *strmodel = [[Uidevice Currentdevice] model];
NSLog(@ " device mode:%@", Strmodel);//e.g. @ "IPhone" @ "IPod touch"
NSString *strlocmodel = [[Uidevice currentdevice] Localizedmodel];
NSLog(@ " local device mode:%@", Strlocmodel);//localized version of Model
Nsdictionary *dicinfo = [[NSBundle mainbundle] infodictionary];
Cfshow (Dicinfo);
nsstring *strappname = [Dicinfo objectforkey:@ "Cfbundledisplayname"];
NSLog (@ "app app name:%@", strappname);
nsstring *strappversion = [Dicinfo objectforkey:@ "cfbundleshortversionstring"];
NSLog (@ "app version:%@", strappversion);
nsstring *strappbuild = [Dicinfo objectforkey:@ "Cfbundleversion"];
NSLog (@ "app build version:%@", strappbuild);
Nsarray *languagearray = [Nslocale preferredlanguages];
nsstring *language = [Languagearray objectatindex:0];
NSLog (@ " language:%@", language); En
Nslocale *locale = [Nslocale currentlocale];
nsstring *country = [locale localeidentifier];
NSLog (@ " Country:%@", country); //en_us
iOS Display phone information