我试图按照我的观点强制景观的方法:
- (NSUInteger)supportedInterfaceOrientations { return UIInterfaceOrientationMaskLandscape; } - (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation { return UIInterfaceOrientationLandscapeLeft; } - (BOOL)shouldAutorotate{ return YES; }
也没有工作.请注意,我正在模拟器和iPad上进行测试.
谢谢