What is Auto Layout?

后端 未结 7 2200
不知归路
不知归路 2020-12-07 19:02

What is Auto Layout - what does it do, and is it an iOS 5 feature?

Since the new iPhone 5 has a bigger screen, all the options on how to optimize your applications f

7条回答
  •  南笙
    南笙 (楼主)
    2020-12-07 19:58

    I recommend watching the WWDC 2012 session Introduction to Auto Layout for iOS and OS X.

    Auto Layout is a new way to define dynamic GUIs. Before, we had autoresizing masks, that described how a subview will resize or move when its superview is resized. With Auto Layout you can do the same and also a lot more complicated GUIs quite easily.

提交回复
热议问题