oc 如何获得用 Masonry 约束好的宽度?
例子:
/// 怎样获取里面约束好的 45 呢?请问!!
[self.choseCityBtn mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(@(12));
make.width.equalTo(@(45));
make.height.equalTo(@(24));
make.centerY.equalTo(@(navCenterY));
}];
在View里
在controller里
参考资料: https://github.com/SnapKit/Ma...
其他资料: http://elijahdou.github.io/ui...