UIDevice(TuSDKTSDeviceExtend) Category Reference
Declared in | TuSDKTSDevice+Extend.h |
---|
+ lsqName
设备名称
+ (NSString *)lsqName
Return Value
设备名称 e.g. “My iPhone”
Declared In
TuSDKTSDevice+Extend.h
+ lsqSystemName
系统名称
+ (NSString *)lsqSystemName
Return Value
系统名称 e.g. @“iOS”
Declared In
TuSDKTSDevice+Extend.h
+ lsqSystemFloatVersion
系统版本号
+ (CGFloat)lsqSystemFloatVersion
Return Value
系统版本号 e.g. @“4.0”
Declared In
TuSDKTSDevice+Extend.h
+ lsqSystemVersion
系统版本号
+ (NSString *)lsqSystemVersion
Return Value
系统版本号 e.g. @“4.0.2”
Declared In
TuSDKTSDevice+Extend.h
+ lsqModel
硬件型号
+ (NSString *)lsqModel
Return Value
硬件型号 e.g. @“iPhone”, @“iPod touch”
Declared In
TuSDKTSDevice+Extend.h
+ lsqLocalizedModel
本地化硬件型号
+ (NSString *)lsqLocalizedModel
Return Value
本地化硬件型号
Declared In
TuSDKTSDevice+Extend.h
+ lsqAppVersion
获取应用版本
+ (NSString *)lsqAppVersion
Return Value
应用版本
Declared In
TuSDKTSDevice+Extend.h
+ lsqAppBuild
应用编译版本
+ (NSString *)lsqAppBuild
Return Value
应用编译版本
Declared In
TuSDKTSDevice+Extend.h
+ lsqAppIdentifier
应用 Bundle Identifier
+ (NSString *)lsqAppIdentifier
Return Value
应用 Bundle Identifier
Declared In
TuSDKTSDevice+Extend.h
+ lsqAdIdentifier
ad AdIdentifier;
+ (NSString *)lsqAdIdentifier
Return Value
应用
Declared In
TuSDKTSDevice+Extend.h
+ lsqGetWifiIpAddress
获取WIFI IP地址
+ (NSString *)lsqGetWifiIpAddress
Return Value
WIFI IP地址
Declared In
TuSDKTSDevice+Extend.h
+ lsqFileSizeAtPath:
获取文件大小 BYTE
+ (long long)lsqFileSizeAtPath:(NSString *)filePath
Parameters
filePath |
文件路径 |
---|
Return Value
文件大小 BYTE
Declared In
TuSDKTSDevice+Extend.h
+ lsqSpaceMemory
获取当前应用可用内存(单位:MB)
+ (double)lsqSpaceMemory
Return Value
当前应用可用内存(单位:MB)
Declared In
TuSDKTSDevice+Extend.h
+ lsqUsedMemory
获取当前应用所占用的内存(单位:MB)
+ (double)lsqUsedMemory
Return Value
当前应用所占用的内存(单位:MB)
Declared In
TuSDKTSDevice+Extend.h
+ lsqLogMemory:
打印内存使用情况
+ (void)lsqLogMemory:(NSString *)tag
Parameters
tag |
标签 |
---|
Declared In
TuSDKTSDevice+Extend.h
+ lsqPerformance
硬件性能
+ (NSUInteger)lsqPerformance
Return Value
2-5
Declared In
TuSDKTSDevice+Extend.h
+ lsqDevicePlatform
获取手机型号
+ (TuSDKDevicePlatform)lsqDevicePlatform
Return Value
TuSDKDevicePlatform 手机型号枚举
Declared In
TuSDKTSDevice+Extend.h
+ lsqUuid
Universally Unique Identifier 通用唯一识别码
+ (NSString *)lsqUuid
Return Value
通用唯一识别码
Declared In
TuSDKTSDevice+Extend.h
– lsqIsDevice:
是否为指定设备
- (BOOL)lsqIsDevice:(NSString *)device
Parameters
device |
设备名称 |
---|
Return Value
是否为指定设备
Declared In
TuSDKTSDevice+Extend.h
– lsqCpuFrequency
CPU频率
- (NSUInteger)lsqCpuFrequency
Return Value
CPU频率
Declared In
TuSDKTSDevice+Extend.h
– lsqBusFrequency
系统总线频率
- (NSUInteger)lsqBusFrequency
Return Value
系统总线频率
Declared In
TuSDKTSDevice+Extend.h
– lsqCpuCount
CPU核心数
- (NSUInteger)lsqCpuCount
Return Value
CPU核心数
Declared In
TuSDKTSDevice+Extend.h
– lsqTotalMemory
合计内存
- (NSUInteger)lsqTotalMemory
Return Value
合计内存
Declared In
TuSDKTSDevice+Extend.h
– lsqUserMemory
已使用内存
- (NSUInteger)lsqUserMemory
Return Value
已使用内存
Declared In
TuSDKTSDevice+Extend.h
– lsqSapceMemory
空闲内存
- (NSUInteger)lsqSapceMemory
Return Value
空闲内存
Declared In
TuSDKTSDevice+Extend.h
– lsqTotalDiskSpace
总存储空间
- (NSNumber *)lsqTotalDiskSpace
Return Value
总存储空间
Declared In
TuSDKTSDevice+Extend.h
– lsqFreeDiskSpace
可使用存储空间
- (NSNumber *)lsqFreeDiskSpace
Return Value
可使用存储空间
Declared In
TuSDKTSDevice+Extend.h
– lsqMacaddress
网络Mac地址
- (NSString *)lsqMacaddress
Return Value
网络Mac地址
Declared In
TuSDKTSDevice+Extend.h
+ lsqGetRotationByOrient:
根据设备方向获取旋转角度
+ (CGFloat)lsqGetRotationByOrient:(UIDeviceOrientation)orient
Parameters
orient |
设备旋转方向 |
---|
Return Value
旋转角度
Declared In
TuSDKTSDevice+Extend.h