123456789101112131415161718192021222324252627282930313233343536373839404142 |
- //
- // XTSystem.h
- // XTFramework
- //
- // Created by Qing Xiubin on 13-8-15.
- // Copyright (c) 2013年 XT. All rights reserved.
- //
- @interface XTSystem : NSObject
- + (NSString *)osVersion;
- + (NSString *)appVersion;
- + (NSString *)appBuild;
- + (NSString *)appIdentifier;
- + (NSString *)deviceModel;
- + (NSString *)deviceUUID;
- + (CGFloat)statuBarHeight;
- + (CGFloat)navBarHeight;
- //+ (BOOL)isJailBroken NS_AVAILABLE_IOS(4_0);
- + (NSString *)jailBreaker NS_AVAILABLE_IOS(4_0);
- + (BOOL)isDevicePhone;
- + (BOOL)isDevicePad;
- + (BOOL)isPhone35;
- + (BOOL)isPhoneRetina35;
- + (BOOL)isPhoneRetina4;
- + (BOOL)isPhoneRetina6;
- + (BOOL)isPhoneRetina6Plus;
- + (BOOL)isPhoneRetinaX;
- + (BOOL)isPad;
- + (BOOL)isPadRetina;
- + (BOOL)isScreenSize:(CGSize)size;
- //获得设备型号
- + (NSString *)getCurrentDeviceModel;
- @end
|