I have some interesting notice with scrolling performance on UITableView
with cornerRadius
, borderWidth
and borderColor
e
CALayer having shouldRasterize property for this type of performance issue. Just set
self.tableView.layer.shouldRasterize = YES;
This single line saved my lot of time and work.
I just found out that cornerRadius with borderWidth sluggish tableView performance by a lot. So instead of 10.f radius I changed to 5.f and performance has increased amazingly. Still not perfect but noticeably better...