A big part of the promise of mobile computing is that the mobile devices today offer features that aren’t available in any other general-purpose computing devices. Besides mobility, the availability of hardware sensors on the device is what makes it possible to create truly innovative solutions that would not be possible otherwise.
This chapter demonstrates several approaches to interacting with the hardware on the device.
You can use
UIDevice to get basic information about the device, including OS Version and its current orientation (Landscape, Portrait, and so on).
The Notification Center can be used ...