I have developed an iOS App and tested it on iOS6 device. While testing, I realized that my App is not responding to Orientation changes as expected.
Here is my Code
Follow the documentation on UIDevice.
You need to call
[[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications];
Then every time the orientation is changed you will receive a UIDeviceOrientationDidChangeNotification.