<pre name="code" class="objc">//常用的
NSString *strName = [[UIDevice currentDevice] name];
获得设备名称
NSString *strId = [[UIDevice currentDevice] uniqueIdentifier];
//版本号
NSString *strSysVersion = [[UIDevice currentDevice] systemVersion];
//设备模式
NSString *strModel = [[UIDevice currentDevice] model]; iOS常用设备信息获取
最新推荐文章于 2025-06-27 16:37:00 发布
本文介绍了如何使用Objective-C从iOS设备中获取设备名称、唯一标识符、系统版本及设备型号等关键信息。

390

被折叠的 条评论
为什么被折叠?



