Open RtzX opened 7 years ago
可以
[self.pageViewCount mas_makeConstraints:^(MASConstraintMaker *make) { make.top.equalTo(self.nickNameLabel.mas_top); make.right.mas_equalTo(-15); }];
_contentLabel.sd_layout
.leftSpaceToView(contentView,15)
.rightSpaceToView(contentView,15)
.topSpaceToView(_headImageView,12);
// .maxHeightIs(54); [_contentLabel setMaxNumberOfLinesToShow:3];
类似于这样 混合使用呢?
对于同一个view、viewcontroller最好不要混用,不然会出各种奇怪的问题,已经踩过无数坑了。。。
最好还是用你的Msonry ,别用这个. .. 过来人的建议
嗯 最近看了一下源代码,用的是runtime,最后修改的layoutSubviews,各种冲突,还是乖乖地用Masonry
项目里面已经使用了masonry .. 现在准备导入SDAutoLayout.. 两个框架 可以共存吗?