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.
在 iPad 中处理多个方向的视图的最佳方式是什么。
在我的理解和一些研究中,
但我对苹果的推荐、最佳方式/实践有点困惑。请回复。
这是来自苹果的指南。如果自动布局不适合您,那么您需要一个单独的横向视图控制器。
https://developer.apple.com/library/ios/featuredarticles/ViewControllerPGforiPhoneOS/RespondingtoDeviceOrientationChanges/RespondingtoDeviceOrientationChanges.html