0
在视图控制器中,我有tableView
和graphView
。当我将设备的方向更改为横向模式时,只有graphView
应该以横向模式显示。请咨询:只将图形旋转到横向模式
- (NSUInteger)supportedInterfaceOrientations
{
return UIInterfaceOrientationLandscapeLeft;
}
- (BOOL)shouldAutorotate {
return NO;
}