状态不好,奇葩频出

1.引入face++,忘记改.m为.mm

2.不能使用c语言的layoutRateByHeight(height)

3.[self.containerViewmas_makeConstraints:^(MASConstraintMaker*make) {

//make.centerX.equalTo(self);

make.top.equalTo(self);

make.left.equalTo(self).offset([GMLayoutRatelayoutRateByOCHeight:55]);

make.right.equalTo(self).offset(-[GMLayoutRatelayoutRateByOCHeight:55]);

make.height.mas_equalTo([GMLayoutRate layoutRateByOCHeight:174]);

//make.size.mas_equalTo([GMLayoutRate layoutRateByOCHeight:264], [GMLayoutRate layoutRateByOCHeight:174]);//这样设置不行

}];

这样设置是对的,但是//make.size.mas_equalTo([GMLayoutRate layoutRateByOCHeight:264], [GMLayoutRate layoutRateByOCHeight:174]);//这样设置不行,不知道原因

你可能感兴趣的:(状态不好,奇葩频出)