//手机别名:用户定义的名称
NSString* userPhoneName = [[UIDevicecurrentDevice]name];
NSLog(@"手机别名: %@", userPhoneName);
//设备名称
NSString* deviceName = [[UIDevicecurrentDevice]systemName];
NSLog(@"设备名称: %@",deviceName );
//手机系统版本
NSString* phoneVersion = [[UIDevicecurrentDevice]systemVersion];
NSLog(@"手机系统版本: %@", phoneVersion);
//手机型号
NSString* phoneModel = [[UIDevicecurrentDevice]model];
NSLog(@"手机型号: %@",phoneModel );
NSDictionary *infoDictionary = [[NSBundlemainBundle]infoDictionary];
// 当前应用名称
NSString *appCurName = [infoDictionaryobjectForKey:@"CFBundleDisplayName"];
NSLog(@"当前应用名称:%@",appCurName);
// 当前应用软件版本 比如:1.0.1
NSString *appCurVersion = [infoDictionaryobjectForKey:@"CFBundleShortVersionString"];
NSLog(@"当前应用软件版本:%@",appCurVersion);
// 当前应用版本号码 int类型
NSString *appCurVersionNum = [infoDictionaryobjectForKey:@"CFBundleVersion"];
NSLog(@"当前应用版本号码:%@",appCurVersionNum);