1. 首页
  2. 移动开发
  3. iOS
  4. IOS设备类型获取PLIST

IOS设备类型获取PLIST

上传者: 2019-07-22 20:26:49上传 PLIST文件 2.08KB 热度 30次
IOS设备类型获取PLISTstructutsnamesystemInfo;uname(&systemInfo);NSString*iOSDeviceModelsPath=[[NSBundlemainBundle]pathForResource:@"iOSDeviceModelMapping"ofType:@"plist"];NSDictionary*iOSDevices=[NSDictionarydictionaryWithContentsOfFile:iOSDeviceModelsPath];NSString*deviceModel=
用户评论
码姐姐匿名网友 2019-07-22 20:26:49

挺好,实用