Returns an object representing the current device.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
A singleton object that represents the current device.
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.