Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 VC 旋转上支持不同显示的一般模式是什么?
我会在界面生成器中创建一个新的 VC,设计它等等。然后在 willRotate 上,继续它吗?或者处理这个问题的正确方法是什么?
例如,纵向的表格视图。向左旋转,现在显示图表
我最终添加了一个不同的横向设计的视图控制器。然后我使用旋转委托方法来确定什么时候旋转来移动。