iPad Landscape and Portrait different layouts with Size Class

后端 未结 4 1134

How to design iPad Landscape and Portrait screens with different Layouts using Size class. I could find only w-regular and h-regular for both orientations. Example: I need t

4条回答
  •  有刺的猬
    2021-01-01 11:39

    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, please see this answer for another approach to adapting size classes to do what we need: https://stackoverflow.com/a/28268200/4517929

提交回复
热议问题