您的位置:首页 > 移动开发 > IOS开发

iOS 设置某个ViewController可以旋转

2017-06-16 16:52 513 查看
//支持横屏设置

- (BOOL)shouldAutorotate

{

    return
YES;

}

-(UIInterfaceOrientationMask)supportedInterfaceOrientations

{

    return
UIInterfaceOrientationMaskAll;

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: