UIView+AutoLayout 是 UIView 的分类,实现了自动布局限制的简单接口。
The goal is to provide a pleasant API for the vast majority of common Auto Layout use cases. It’s designed for clarity and simplicity while simultaneously minimizing the amount of third party code. The API takes inspiration from the Auto Layout UI options available in Interface Builder.