第12月第1天 MASConstraintMaker crash

1.

crash

    [valueLabel mas_makeConstraints:^(PAKitMASConstraintMaker *make) {

        make.left.equalTo(finishedView.mas_right).with.offset(0);

        make.width.equalTo(@80);

        make.height.equalTo(@28);

        make.centerY.equalTo(self.contentView.mas_centerY).width.offset(0);

    }];

 

修改为

    width改为with

    make.centerY.equalTo(self.contentView.mas_centerY).with.offset(0);

posted @ 2017-09-01 15:36  lianhuaren  阅读(189)  评论(0编辑  收藏  举报