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]);//這樣設(shè)置不行
}];
這樣設(shè)置是對的钻弄,但是//make.size.mas_equalTo([GMLayoutRate layoutRateByOCHeight:264], [GMLayoutRate layoutRateByOCHeight:174]);//這樣設(shè)置不行,不知道原因