如何获取iOS设备机型和系统版本号

2016-12-19  本文已影响127人  白鹿Divella

系统版本号:NSString * strModel1  = [[UIDevice currentDevice] systemVersion] floatValue];

设备机型:NSString * strModel2  = [UIDevice currentDevice].model];

上一篇 下一篇

猜你喜欢

热点阅读