简体   繁体   English

iPad air 2和iPad Pro的布局不同

[英]different layout for iPad air 2 and iPad pro

I use size class wR hR for adjusting the layout for iPad. 我使用尺寸等级wR hR来调整iPad的布局。 It turns out fine for iPad air 2 but still not satisfactory for iPad pro. 事实证明,该产品适用于iPad air 2,但对于iPad Pro而言仍不令人满意。 It is very big. 它非常大。 I don't know how to further refine the constraints for iPad pro. 我不知道如何进一步完善iPad Pro的限制。

Any thought about it? 有什么想法吗?

The iPad Pro is also wR hR , so you're not going to be able to differentiate by any change in Interface Builder. iPad Pro也是wR hR ,因此您将无法通过Interface Builder的任何更改来区分。 If you want things to be different on the iPad Pro, you'll have to make those adjustments in code based on the screen size. 如果您希望iPad Pro上的内容有所不同,则必须根据屏幕尺寸在代码中进行这些调整。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM