In the ios setup, on the function:
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
- (NSUInteger) supportedInterfaceOrientations{
#ifdef __IPHONE_6_0
return UIInterfaceOrientationMaskAllButUpsideDown;
#endif
}
Why is it used UIInterfaceOrientationMaskAllButUpsideDown instead of UIInterfaceOrientationMaskLandscape in a landscape project?
Also I tested on current iOS phone and my test application is rotated with the physical rotation of the phone. How can I lock the rotation to always Landscape?
Thanks,