March 2012
Intermediate to advanced
590 pages
22h 48m
English
One object that regularly posts notifications is UIDevice. Here are the constants that serve as 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 Empty Application project and name it HeavyRotation. Enter Rotation into the Class Prefix ...
Read now
Unlock full access