June 2011
Intermediate to advanced
590 pages
19h 31m
English
One object that regularly posts notifications is UIDevice. Here are the constants that serve as the names of the notifications that a UIDevice posts:
UIDeviceOrientationDidChangeNotification UIDeviceBatteryStateDidChangeNotification UIDeviceBatteryLevelDidChangeNotification UIDeviceProximityStateDidChangeNotification
Wouldn’t it be cool to get a message when the device rotates? Or when the phone is placed next to the user’s face? These notifications do just that.
Create a new Window-based Application iPhone project and name it HeavyRotation. In HeavyRotationAppDelegate.m ...
Read now
Unlock full access