如何获取iOS设备机型和系统版本号
2016-12-19 本文已影响127人
白鹿Divella
系统版本号:NSString * strModel1 = [[UIDevice currentDevice] systemVersion] floatValue];
设备机型:NSString * strModel2 = [UIDevice currentDevice].model];
系统版本号:NSString * strModel1 = [[UIDevice currentDevice] systemVersion] floatValue];
设备机型:NSString * strModel2 = [UIDevice currentDevice].model];