84669 人學習
152542 人學習
20005 人學習
5487 人學習
7821 人學習
359900 人學習
3350 人學習
180660 人學習
48569 人學習
18603 人學習
40936 人學習
1549 人學習
1183 人學習
32909 人學習
我的app设置的是不支持旋转,但是我想在某一个viewcontroller里 支持横屏竖屏旋转这个可以吗?
在so上找到一个答案 http://stackoverflow.com/questions/25666269/ios8-swift-how-to-detect-o... 测试了一下可以实现,
只设置shouldAutorotate 和 willRotateToInterfaceOrientation 这两个代理方法不行吗?还需要设置什么?
只设置shouldAutorotate 和 willRotateToInterfaceOrientation 这两个代理方法不行吗?还需要设置什么?