IOS-獲取Model(設備型號)、Version(設備版本號)、app(程序版本號)等
NSLog(@"uniqueIdentifier: %@", [[UIDevice currentDevice] uniqueIdentifier]); NSLog(@"name: ...
獲取 bundle version版本號 NSString getLocalAppVersion return NSBundle mainBundle infoDictionary objectForKey: CFBundleShortVersionString 獲取BundleID NSString getBundleID return NSBundle mainBundle infoDicti ...
2016-04-14 14:46 0 20559 推薦指數:
NSLog(@"uniqueIdentifier: %@", [[UIDevice currentDevice] uniqueIdentifier]); NSLog(@"name: ...
swift 獲取app版本號及 ios 版本號 func versionCheck(){ let infoDictionary = NSBundle.mainBundle().infoDictionary let appDisplayName ...
的Ios系統版本為:"+ver[1].replace(/_/g,".")); } ...
1.第一種:通過System來獲取 View Code 2.第二種:通過Application來獲取 View Code ...
// 獲取當前App的基本信息字典 NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary]; //app名稱 NSString *app_Name ...