I've been trying to create complex UITableViewCell
through Autolayout but it is giving a huge performance lag while scrolling, So I decided to go for frame-based i.e programmatically.
The complexity of cell layout is like Facebook cards where every cell is different w.r.t to dynamic text and images.
I tried to render the cell in layoutSubviews
but the scroll is still poor but better then Autolayout.
I also tried to render the cell in drawRect
and this gives the best performance but while scrolling I can't update the frames as it is getting called only once.
Can someone guide me what is best case I can go with best scroll performance.? I am stuck .