ios-Get Model (device model), version (device version number), app (program version number), etc.
NSLog (@ "uniqueidentifier:%@", [[Uidevice Currentdevice] uniqueidentifier]);
NSLog (@ "Name:%@", [[Uidevice Currentdevice] name]);
NSLog (@ "SystemName:%@", [[Uidevice Currentdevice] systemName]);
NSLog (@ "systemversion:%@", [[Uidevice Currentdevice] systemversion]);
NSLog (@ "model:%@", [[Uidevice Currentdevice] model]);
NSLog (@ "Localizedmodel:%@", [[Uidevice Currentdevice] localizedmodel]);
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"];
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
ios-Get Model (device model), version (device version number), app (program version number), etc.