The iPhone version of my app supports UIDeviceOrientationPortraitUpsideDown
and UIDeviceOrientationPortrait
, but the iPad version supports all Orientat
Another way to support orientations is to subclass UINavigationController and add your orientation code there
i.e
//IOS 5
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation{
return YES;
}
//IOS 6
- (BOOL)shouldAutorotate {
return YES;
}
- (NSUInteger)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskAll;
}
this worked for me, using storyboards