Results 1 comments of whgt1989

原因:如果宽、高是精度很高的小数,view显示的时候都会有黑线。将宽高设为整数值就好了。 contentLabel.sd_resetLayout .topSpaceToView(topView,0) .leftEqualToView(topView) .widthIs((int)(textRect.size.width + 1)) .heightIs((int)(textRect.size.height + 1));