I have this:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}
in my app view controllers, in iOS 5 it worked as expected but when I updated to iOS 6, the orientation definition doesnt seem to work, it is also showing landscape when oriented. Any change in method definition of any other settings?
in the
AppDelegate:in your ViewController: