Type Property

currentDevice

Returns an object representing the current device.

Declaration

@property(class, nonatomic, readonly) UIDevice *currentDevice;

Return Value

A singleton object that represents the current device.

Discussion

You access the properties of the returned UIDevice instance to obtain information about the device. You must instantiate the UIDevice instance before registering to receive device notifications.