- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation {
return YES;
}
我使用这个片段进行旋转。我在该视图中使用图像视图和滚动视图。如何旋转该视图。。。?
提前感谢
第一组
-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation { return YES; }`
在mainView控制器中,则是其他控制器的的工作
在您的info.plist中,在UISupportedInterfaceOrientations中添加所有四个方向,并将所有四个方位设置为true。