Commit 7d3ba46b authored by banchichen's avatar banchichen

设置只支持横屏

parent 920725d4
......@@ -288,6 +288,7 @@
TargetAttributes = {
900E657B1C2BB8D5003D9A9E = {
CreatedOnToolsVersion = 7.2;
DevelopmentTeam = ZH74J4ERQH;
};
900E65941C2BB8D5003D9A9E = {
CreatedOnToolsVersion = 7.2;
......
......@@ -37,6 +37,8 @@
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
......
......@@ -356,6 +356,10 @@
[super pushViewController:viewController animated:animated];
}
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskPortrait;
}
@end
......
......@@ -457,4 +457,8 @@
}
}
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskPortrait;
}
@end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment