IOS获取设备型号方法(包括iPhone6 & iPhone6 Plus)

时间:2018-09-10 04:02:11
【文件属性】:
文件名称:IOS获取设备型号方法(包括iPhone6 & iPhone6 Plus)
文件大小:3KB
文件格式:ZIP
更新时间:2018-09-10 04:02:11
IOS设备型号 IOS获取设备型号方法(包括iPhone6 & iPhone6 Plus) #import #import @interface DevicePlatform : NSObject //返回设备型号 如:iPhone4 或 iPhone6 + (NSString *)platform; //判断是不是iPhone6 + (BOOL)iPhone6; //判断是不是iPhone6Plus + (BOOL)iPhone6Plus; //判断是不是iPhone5 + (BOOL)iPhone5; //判断是不是iPhone4 + (BOOL)iPhone4; @end
【文件预览】:
IOS获取设备型号方法(包括iPhone6 & iPhone6 Plus)
----DevicePlatform.m(4KB)
----.DS_Store(6KB)
----DevicePlatform.h(323B)

网友评论