获取iOS设备信息的工具类
属性列表:
/**
app名称
*/
@property (nonatomic, strong) NSString *appName;
/**
app版本号
*/
@property (nonatomic, strong) NSString *appVersion;
/**
设备型号名
*/
@property (nonatomic, strong) NSString *deviceName;
/**
手机系统版本号
*/
@property (nonatomic, strong) NSString *systemVersion;
/**
手机当前所处网络的IP
*/
@property (nonatomic, strong) NSString *deviceIP;
/**
是模拟器还是手机,模拟器:@“0”,手机:“1”
*/
@property (nonatomic, strong) NSString *deviceReal;
/**
手机的uuid
*/
@property (nonatomic, strong) NSString *uuid;
/**
手机的idfa
*/
@property (nonatomic, strong) NSString *idfa;
具体内容请参考.h文件内说明
DDDeviceInfo is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "DDDeviceInfo"
DDStrongman, [email protected]
DDDeviceInfo is available under the MIT license. See the LICENSE file for more info.