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
You can try this, which solves your problem.
UIInterfaceOrientation orientation = [UIApplication sharedApplication].statusBarOrientation;
Refer below link for App extension Get device current orientation (App Extension)
App extension