Xcode5 ( 3.5\" screen to 4 inch )

烈酒焚心 提交于 2019-12-02 08:29:23

It sounds like you do not have any constraints on your objects. You will need to add them in order for autolayout to work the way you want.

If you are not wanting to add constraints programmatically than you can simply add them to objects in IB.

Click the object you want to add constraints to:

Editor -> Resolve Autolayout Issues -> Add Missing Constraints.

That will give you a good place to start with and you can further adjust the constraints from there.

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