大小类来区分iPhone 5,6和6 Plus? [英] Size Classes to distinguish between iPhone 5, 6 and 6 Plus?
问题描述
我很高兴得知Size Classes与iOS 7向后兼容(在某些情况下)。现在我想知道 - 有没有办法使用Size Classes来区分iPhone 5,6和6 Plus?
I was very happy to learn that Size Classes are backward compatible with iOS 7 (in some cases). Now I'm wondering - is there a way to use Size Classes to distinguish between iPhone 5, 6 and 6 Plus?
推荐答案
没有。实际上恰恰相反,大小类用于抽象设备。这些是目前使用的尺寸等级:
No. Quite the opposite actually, size classes are used to abstract the device away. These are the currently used size class:
紧凑宽度,紧凑高度:横向模式下3.5,4,4.7iPhone
紧凑宽度,常规高度:所有目前可用的纵向iPhone设备
常规宽度,紧凑高度:5.5风景中的iPhone
常规宽度,常规高度:所有当前可用的iPad,无论方向如何
compact width, compact height: 3.5", 4", 4.7" iPhones in Landscape mode
compact width, regular height: all currently available iPhones in Portrait
regular width, compact height: 5.5" iPhone in Landscape
regular width, regular height: all currently available iPads regardless of orientation
这篇关于大小类来区分iPhone 5,6和6 Plus?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!