I use QuartzCoreto add rounded corners to mine UIImageViewin my cellsUITableView
This is the code I'm using:
fooImageView.layer.cornerRadius = 9.0;
fooImageView.layer.masksToBounds = YES;
fooImageView.layer.borderWidth = 1.0;
The problem is when I add this code. The movement of the table cells slows down sharply. I'm just wondering if there are other alternatives to get the user to work much faster and improve performance when scrolling through a table cell using this technique?
I see a lot of apps (most Twitter apps) that don't have a performance hit when using rounded corners for images in their cells. Just wondering how they overcome “slowness”?
Thank you for your help.
source
share