Alternative iOS layouts for portrait and landscape storyboard

两盒软妹~` 提交于 2019-12-19 19:56:35

问题


I need to design different layouts for landscape and potrate I know how to design using .xib file but don't get how design different layout using storyboard.

I want something like This but using storyboard.

please help me.


回答1:


You will need to create different views or different constraints for each screen layout.

You can select the current screen layout here:

And you can determine whether a view is going to be present (installed) in that screen layout here (look at the bottom):

It should be clear after you play a bit with it. :)



来源:https://stackoverflow.com/questions/25962222/alternative-ios-layouts-for-portrait-and-landscape-storyboard

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!