UIDevice(AGSAdditions) Class Reference


Description

Category to assist with determining the device we are running on.

Since:
1.0

List of all members.

Public Member Functions

(BOOL) - isAtLeastiOS4
(BOOL) - isIPad
(NSString *) - machine
(UIDeviceMachineType- machineType
(int) - ppi

Member Function Documentation

- (BOOL) isAtLeastiOS4  

Returns whether or not the iOS version is at least 4.0.

Since:
1.8
- (BOOL) isIPad  

Method to return whether or not the device is an iPad.

Since:
1.8
- (NSString *) machine  

Method to return a string corresponding to a device .

Since:
1.0
- (UIDeviceMachineType) machineType  

Method to return the type of device that is currently running.

Since:
1.0
- (int) ppi  

Method to return the points per inch that should be used for a given device.

Since:
1.0