iOS PureLayout 如何使子控件的Y轴位于父视图Y轴中间的位置?
这类问题 google 一下,比如 purelayout center 就会出现很多。。
https://github.com/PureLayout/PureLayout/issues/44
授人以鱼不如授人以渔。。
[avatarImageView autoConstrainAttribute:ALAttributeHorizontal
toAttribute:ALAttributeHorizontal
ofView:avatarImageView.superview];
是这个意思么?