UIDevice+AWKit.h

Includes:
<UIKit/UIKit.h>

Introduction

Use the links in the table of contents to the left to access the documentation.



Methods

+deviceSystemMajorVersion
+isBiggerThan5
+isDeviceSystemMajorVersionAtLeast8
+isDeviceSystemMajorVersionLessThan8
+isPad
+isPhone
+isPhone4
+isPhone5
+isPhone6
+isPhone6Plus

deviceSystemMajorVersion


+ (NSUInteger)deviceSystemMajorVersion;  
Return Value

NSUInteger of the device major version


isBiggerThan5


+ (BOOL)isBiggerThan5;  
Return Value

YES if the host device has a screen larger than iPhone 5.


isDeviceSystemMajorVersionAtLeast8


+ (BOOL)isDeviceSystemMajorVersionAtLeast8;  
Return Value

YES if the host device is running on iOS8+.


isDeviceSystemMajorVersionLessThan8


+ (BOOL)isDeviceSystemMajorVersionLessThan8;  
Return Value

YES if the host device is running on iOS versions below 8.


isPad


+ (BOOL)isPad;  
Return Value

YES if the host device is a iPad.


isPhone


+ (BOOL)isPhone;  
Return Value

YES if the host device is a iPhone.


isPhone4


+ (BOOL)isPhone4;  
Return Value

YES if the host device is a iPhone 4.


isPhone5


+ (BOOL)isPhone5;  
Return Value

YES if the host device is a iPhone 5.


isPhone6


+ (BOOL)isPhone6;  
Return Value

YES if the host device is a iPhone 6.


isPhone6Plus


+ (BOOL)isPhone6Plus;  
Return Value

YES if the host device is a iPhone 6+.