摘要: 1.首先需要Xcode中选中支持的屏幕方向 2.在Appdelegate中 .h @property (nonatomic,assign)NSInteger allowRotate; .m中 //此方法会在设备横竖屏变化的时候调用 - (UIInterfaceOrientationMask)appl 阅读全文
posted @ 2020-11-17 11:15 OIMMZC 阅读(1287) 评论(0) 推荐(0) 编辑