IOS-获取Model(设备型号)、Version(设备版本号)、app(程序
[cpp] 
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名称 
 
 NSString *app_Name = [infoDictionary objectForKey:@"CFBundleDisplayName"]; 
 
 // app版本 
 
 NSString *app_Version = [infoDictionary objectForKey:@"CFBundleShortVersionString"]; 
 
 // app build版本 
 
 NSString *app_build = [infoDictionary objectForKey:@"CFBundleVersion"]; 
相关新闻>>
- 发表评论
- 
				
- 最新评论 进入详细评论页>>









![[iPhone中级]iPhone团购信息客户端的开发 (二)](/uploads/allimg/131022/200H11235-0-lp.png)
