移除ios扫描界面的横竖屏自动切换
This commit is contained in:
@@ -1161,7 +1161,7 @@ parentViewController:(UIViewController*)parentViewController
|
||||
|
||||
- (BOOL)shouldAutorotate
|
||||
{
|
||||
return YES;
|
||||
return NO;
|
||||
}
|
||||
|
||||
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation
|
||||
@@ -1171,7 +1171,7 @@ parentViewController:(UIViewController*)parentViewController
|
||||
|
||||
- (NSUInteger)supportedInterfaceOrientations
|
||||
{
|
||||
return UIInterfaceOrientationMaskAll;
|
||||
return UIInterfaceOrientationMaskPortrait;
|
||||
}
|
||||
|
||||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
|
||||
|
||||
Reference in New Issue
Block a user