“springs and struts” 模式,就是代码中的autosizing masks布局控制。
autosizing mask决定了一个view会发生什么当它的superview 改变大小的时候。
the struts:指定了当superview改变大小时,view是否有灵活并且自动修复页边的处理能力。
the springs:指定了当superview改变大小时,view的宽和高的变化。
参考文档:
Tutorial: iOS 6 Auto Layout versus Springs and Struts - Part 1 of 3
原文:http://www.cnblogs.com/chemandy/p/3551737.html