Global Variable

UIDeviceOrientationDidChangeNotification

Posted when the orientation of the device changes.

Declaration

const NSNotificationName UIDeviceOrientationDidChangeNotification;

Discussion

You can obtain the new orientation by getting the value of the orientation property.

See Also

Notifications

UIDeviceBatteryLevelDidChangeNotification

Posted when the battery level changes.

UIDeviceBatteryStateDidChangeNotification

Posted when battery state changes.

UIDeviceProximityStateDidChangeNotification

Posted when the state of the proximity sensor changes.