Home > Back-end >  How to enable horizontal scroll of UICollection View that is within a UITableViewCell?
How to enable horizontal scroll of UICollection View that is within a UITableViewCell?

Time:04-27

I have a UICollectionView placed inside a UITableViewCell. The collection view has its scroll direction set to horizontal. However, when I swipe left or right on it to try and scroll, it doesn't work. Instead the table view cell is just pressed. It seems like the table view is eating up the gesture and not allowing the collection view to register it.

How can I make it so the collection view can scroll left and right with horizontal swipes, while still allowing the parent table view to scroll vertically?

I went through enter image description here

  • Related