Type Property

current

Returns an object representing the current device.

Declaration

class var current: UIDevice { get }

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.