This reverts commit c9096d16f7
.
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…
Reference in New Issue
Block a user