We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef6aac5 commit 8b927c5Copy full SHA for 8b927c5
MVVMReactiveCocoa/Resource/Vertigo/Vertigo/TGRImageViewController.m
@@ -51,7 +51,7 @@ - (BOOL)prefersStatusBarHidden {
51
}
52
53
- (NSUInteger)supportedInterfaceOrientations {
54
- return UIInterfaceOrientationMaskPortrait;
+ return isPad ? UIInterfaceOrientationMaskLandscape : UIInterfaceOrientationMaskPortrait;
55
56
57
#pragma mark - UIScrollViewDelegate methods
0 commit comments