UICollectionView Cells and Rasterizing
I recentlty discovered that by adding this before returning my collection
view cell improves scrolling animation performance (smoothness).
cell.layer.shouldRasterize = YES;
cell.layer.rasterizationScale = [UIScreen mainScreen].scale;
If my cell contains, multiple buttons do I need to rasterize those
individually, or will that be taken care of automatically?... or should I
ever bother?
I have added the buttons via Interface Builder.
No comments:
Post a Comment