ios某个控制器强制横竖屏
在控制器的 .m 中实现
-(NSUInteger)supportedInterfaceOrientations{
return UIInterfaceOrientationMaskPortrait; //(竖屏)
}
UIInterfaceOrientationMaskLandscape //(横屏)
在控制器的 .m 中实现
-(NSUInteger)supportedInterfaceOrientations{
return UIInterfaceOrientationMaskPortrait; //(竖屏)
}
UIInterfaceOrientationMaskLandscape //(横屏)