My supports both Landscape & Portrait mode in ios6. I also try with new methods of device rotation, But the methods are not called & it does not support the orientation.
My code is as follow:
-(NSUInteger)supportedInterfaceOrientations
{
NSLog(@"supportedInterfaceOrientations...");
return UIInterfaceOrientationMaskAll;
}
-(BOOL)shouldAutorotate
{
NSLog(@"shouldAutoRotate...");
return YES;
}
I don't know the issue for this.
Thanks...