图片位置漂移
Closed this issue · 0 comments
wsof401 commented
需要在- (void)layoutSubviews 里加入
if (CGSizeEqualToSize(self.scrollView.contentSize, CGSizeMake(self.bounds.size.width_TOTAL_IMG, self.bounds.size.height))) {
return;
}
self.scrollView.contentSize = CGSizeMake(self.bounds.size.width_TOTAL_IMG, self.bounds.size.height);