摘要: Debugging in Code 有两个调试layout问题的阶段。1. Map from “this view is in the wrong place” to “this constraint (or these constraints) is (are) incorrect.” 2. Ma... 阅读全文
posted @ 2014-12-25 16:52 如来藏 阅读(191) 评论(0) 推荐(0) 编辑
摘要: Working with Auto Layout Programmatically 如果你在运行阶段添加或者移除views你就需要通过代码来添加约束来保证你的interface能正确适应size或者orientation的改变。Creating Constraints Programmaticall... 阅读全文
posted @ 2014-12-25 16:08 如来藏 阅读(169) 评论(0) 推荐(0) 编辑