扫码关注官方订阅号
我的app设置的是不支持旋转,但是我想在某一个viewcontroller里 支持横屏竖屏旋转这个可以吗?
在so上找到一个答案 http://stackoverflow.com/questions/25666269/ios8-swift-how-to-detect-o... 测试了一下可以实现,
只设置shouldAutorotate 和 willRotateToInterfaceOrientation 这两个代理方法不行吗?还需要设置什么?
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
扫描下载App
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
只设置shouldAutorotate 和 willRotateToInterfaceOrientation 这两个代理方法不行吗?还需要设置什么?