This reverts commit c9096d16f7a961ed26f73d88a0bdefe8c42a1c47.
This commit is contained in:
parent
c9096d16f7
commit
2dd5025190
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
|
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
|
||||||
if ([self.preferredOrientation.lowercaseString isEqualToString:@"landscape"]) {
|
if ([self.preferredOrientation.lowercaseString isEqualToString:@"landscape"]) {
|
||||||
return UIInterfaceOrientationLandscapeLeft | UIInterfaceOrientationLandscapeRight;
|
return UIInterfaceOrientationLandscapeRight;
|
||||||
}
|
}
|
||||||
else if ([self.preferredOrientation.lowercaseString isEqualToString:@"portrait"]) {
|
else if ([self.preferredOrientation.lowercaseString isEqualToString:@"portrait"]) {
|
||||||
return UIInterfaceOrientationPortrait;
|
return UIInterfaceOrientationPortrait;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user