1 //App Name2Nsdictionary *infodictionary =[[NSBundle Mainbundle] infodictionary];3NSString *appname = [Infodictionary objectforkey:@"Cfbundledisplayname"];4NSLog (@"Application Name:%@", appName);5 6 //Version number7NSString *shortversion = [Infodictionary objectforkey:@"cfbundleshortversionstring"];8NSLog (@"version number:%@", shortversion);9 Ten //version number (int type) OneNSString *version = [Infodictionary objectforkey:@"cfbundleversion"]; ANSLog (@"version number (int type):%@", version); - - //Phone identifiers thensuuid* Identifierforvendor =[[Uidevice Currentdevice] Identifierforvendor]; -NSLog (@"cell phone identifier:%@", Identifierforvendor); - - //Mobile Phone +Cfuuidref Uuidref =cfuuidcreate (kcfallocatordefault); -NSString *uuid = (NSString *) Cfbridgingrelease (cfuuidcreatestring (Kcfallocatordefault,uuidref)); +NSLog (@"cell phone uuid:%@", uuid); A at //system -NSString *systemname =[[Uidevice Currentdevice] systemName]; -NSLog (@"System:%@", systemName); - - //Mobile phone system version -nsstring* systemversion =[[Uidevice Currentdevice] systemversion]; inNSLog (@"Mobile Phone system version:%@", systemversion); - to //User's phone name +nsstring* Phonename =[[Uidevice Currentdevice] name]; -NSLog (@"User's mobile name:%@", phonename); the * //Phone Model $NSString *phonemodel =[[Uidevice Currentdevice] model];Panax NotoginsengNSLog (@"phone Model:%@", Phonemodel); - the //Local Model +NSString *localizedmodel =[[Uidevice Currentdevice] localizedmodel]; ANSLog (@"local model:%@", Localizedmodel);
respecting the author's labor achievements, reprint please specify: "Kingdev"
Get phone parameters