NNDeviceInformation
iOS 获取设备的各种信息。
以下是所有所有方法,直接调用即可:
@interface NNDeviceInformation : NSObject
/// 屏幕宽度
+ (CGFloat)getDeviceScreenWidth;
/// 屏幕高度
+ (CGFloat)getDeviceScreenHeight;
/// 获取设备版本号
+ (NSString *)getDeviceName;
/// 获取iPhone名称
+ (NSString *)getiPhoneName;
/// 获取app版本号
+ (NSString *)getAPPVerion;
/// 获取电池电量
+ (CGFloat)getBatteryLevel;
/// 当前系统名称
+ (NSString *)getSystemName;
/// 当前系统版本号
+ (
评论0
最新资源