Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The UIDevice class exposes key device-specific properties, including the iPhone or iPod touch model being used, the device name, and the OS name and version. It’s a one-stop solution for pulling out certain system details. Each method is an instance method, which is called using the UIDevice singleton, via [UIDevice currentDevice].
The system information you can retrieve from UIDevice includes these items:
• systemName—This returns the name of the operating system currently in use. For current generations of iOS devices, there is only one OS that runs on the platform: iPhone OS. Apple has not yet updated this name to match the general iOS rebranding.
• systemVersion—This value lists the firmware version currently installed on the unit: for example, 4.2, 4.3, 5.0, and so on.