iOS 设置某个ViewController可以旋转
2017-06-16 16:52
513 查看
//支持横屏设置
- (BOOL)shouldAutorotate
{
return
YES;
}
-(UIInterfaceOrientationMask)supportedInterfaceOrientations
{
return
UIInterfaceOrientationMaskAll;
}
- (BOOL)shouldAutorotate
{
return
YES;
}
-(UIInterfaceOrientationMask)supportedInterfaceOrientations
{
return
UIInterfaceOrientationMaskAll;
}
相关文章推荐
- ios6.0之后单个屏幕旋转,不用根视图以及Application windows are expected to have a root view controller at the end of
- iOS 创建用xib制作的ViewController,不可以使用new方法
- iOS ViewController设置背景透明
- IOS某个ViewController禁止自动旋转
- iOS开发-设置在使用NavigateController时View的顶部位置
- iOS presentedViewController 单屏幕旋转整理
- iOS-自定义TextView的方法,可以设置占位文字(placeholder)又可滚动
- iOS presentViewController 之后设置界面透明
- iOS UITableView(十四) 设置TbleviewController的滚动范围
- iosUIpageViewController转屏后里面的子视图没有跟着一起旋转
- iOS presentViewController 页面透明设置
- IOS TabBarController中是否允许单个viewController旋转屏幕
- iOS 设置presentModalViewController的大小
- IOS某个ViewController禁止自动旋转
- iOS开发中view controller设置问题
- 【iOS】设置 rootViewController
- iOS开发的一些小技术:让UIImage有缩放功能、控制log的输出、xcode修改文件注释、随机数的使用、在UIImageView 中旋转图像、在Quartz中如何设置旋转点、创建.plist文件并存储
- iOS设置竖屏,播放视频可以任性旋转的解决方法,亲测可用
- iOS 的Viewcontroller只支持一个屏幕方向,弹出不同方向,旋转
- iOS 设置tableview头部不可以向下拉动..