1.栅格化,将cell中的所有内容生成一张图片
2.在滚动屏幕时只显示图像
self.layer.shouldRasterize = YES;
栅格化必须设置分辨率
self.layer.rasterizationScale = [UIScreen mainScreen].scale;
3.异步绘制
self.layer.drawsAsynchronously = YES;
1.栅格化,将cell中的所有内容生成一张图片
2.在滚动屏幕时只显示图像
self.layer.shouldRasterize = YES;
栅格化必须设置分辨率
self.layer.rasterizationScale = [UIScreen mainScreen].scale;
3.异步绘制
self.layer.drawsAsynchronously = YES;