I have a uitableview that loads fairly large images in each cell and the cell heights vary depending on the size of the image. Scrolling performance is decent, but can sometimes be jerky.
I found these tips I found on the FieryRobot blog:
glassy-scrolling-with-uitableview
more-glassy-scrolling-with-uitableview
Does anyone have any tips for improving uitableview scrolling performance?
UITableViewCell
's drawRect:
if possible avoid subviews at all costs (or if you require the standard accessibility functionality, the content view's drawRect:
)UITableViewCell
's layer opaque (same goes for the content view if you have one)UITableView
examples/documentationUIImage
sIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With