Category to assist with determining the device we are running on.
Public Member Functions | |
(BOOL) | - isAtLeastiOS4 |
(BOOL) | - isIPad |
(NSString *) | - machine |
(UIDeviceMachineType) | - machineType |
(int) | - ppi |
- (BOOL) isAtLeastiOS4 |
Returns whether or not the iOS version is at least 4.0.
- (BOOL) isIPad |
Method to return whether or not the device is an iPad.
- (NSString *) machine |
Method to return a string corresponding to a device .
- (UIDeviceMachineType) machineType |
Method to return the type of device that is currently running.
- (int) ppi |
Method to return the points per inch that should be used for a given device.