How to create separate UI for Landscape and Portrait?

前端 未结 3 1445
滥情空心
滥情空心 2021-01-25 07:17

Is there any good tutorial that shows how to create a UI like the one on iPhone\'s calculator? It looks to me that it has two different views in the same initial ViewController

3条回答
  •  野性不改
    2021-01-25 07:25

    You should be familiar with autolayout and size classes. This is good tutorial https://makeapppie.com/2016/09/05/an-introduction-to-size-classes-for-xcode-8/

提交回复
热议问题