This topic created in 3868 days ago, the information mentioned may be changed or developed.
如题,对于 iPhone 在 Storyboard 里设置横竖屏两套 UI 比较容易,因为 iPhone 横竖屏的 SizeClass 不一样,但是 iPad 上,横竖都是 RegularWidth + RegularHeight ,这该如何处理啊?难道又得去用代码更新 UI 了吗?
2 replies • 2016-04-19 09:18:23 +08:00
 |
|
你可以把所有 constraint 都在 IB 里面设置好,然后用 Outlet 的方法动态 remove 掉一些。
|
 |
|
use size classes
|