适用于iPad版的iOS 8大小类 [英] iOS 8 size classes for iPad landscape

查看:98
本文介绍了适用于iPad版的iOS 8大小类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

除了iPad版以外,似乎所有当前的iOS设备都能很好地映射到新的iOS 8大小类?我似乎无法弄清楚如何使用尺寸类功能为iPad横向绘制不同的场景(与iPad肖像不同)?

It seems all the current iOS devices maps to the new iOS 8 size classes nicely except iPad landscape? I seem not able to figure out how to use the size class feature to draw a different scene for iPad landscape (different from iPad portrait)?

这是设计用于苹果的想法还是我想念一下关于iOS尺寸类的东西?

Is that intended by design in Apple's mind or am I miss something about the iOS size classes?

推荐答案

似乎是苹果打算将iPad的两个方向都视为同样 - 但正如我们中的许多人所发现的那样,有非常合理的设计理由想要改变iPad Portrait与iPad Landscape的UI布局。

It appears to be Apple's intent to treat both iPad orientations as the same -- but as a number of us are finding, there are very legitimate design reasons to want to vary the UI layout for iPad Portrait vs. iPad Landscape.

然而,我相信我有一个答案,可以调整大小类来满足您的需求。

However, I believe I have an answer for adapting size classes to do just what you need.

请参阅: https://stackoverflow.com/a/28268200/ 4517929

这篇关于适用于iPad版的iOS 8大小类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆