XTSystem.h 803 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // XTSystem.h
  3. // XTFramework
  4. //
  5. // Created by Qing Xiubin on 13-8-15.
  6. // Copyright (c) 2013年 XT. All rights reserved.
  7. //
  8. @interface XTSystem : NSObject
  9. + (NSString *)osVersion;
  10. + (NSString *)appVersion;
  11. + (NSString *)appBuild;
  12. + (NSString *)appIdentifier;
  13. + (NSString *)deviceModel;
  14. + (NSString *)deviceUUID;
  15. + (CGFloat)statuBarHeight;
  16. + (CGFloat)navBarHeight;
  17. //+ (BOOL)isJailBroken NS_AVAILABLE_IOS(4_0);
  18. + (NSString *)jailBreaker NS_AVAILABLE_IOS(4_0);
  19. + (BOOL)isDevicePhone;
  20. + (BOOL)isDevicePad;
  21. + (BOOL)isPhone35;
  22. + (BOOL)isPhoneRetina35;
  23. + (BOOL)isPhoneRetina4;
  24. + (BOOL)isPhoneRetina6;
  25. + (BOOL)isPhoneRetina6Plus;
  26. + (BOOL)isPhoneRetinaX;
  27. + (BOOL)isPad;
  28. + (BOOL)isPadRetina;
  29. + (BOOL)isScreenSize:(CGSize)size;
  30. //获得设备型号
  31. + (NSString *)getCurrentDeviceModel;
  32. @end