2

I needed to create a scrollable horizontal list of items in a UITableViewCell. They can be images or tags like those but horizontally scrollable: enter image description hereenter image description here

My initial approach was to create a UIStackView inside of a UIScrollView and add items to this UIStackView. This worked fine. However the problem is; this operation take too much time and heavily lag the scrolling of UITableView.

So what is the best approach here?

Please note that there could be more than 1 horizontal lists in my UITableViewCell and scrolling to those cells blocked my UI for 2-3 seconds.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
The Cook
  • 1,403
  • 3
  • 17
  • 33

0 Answers0