I have buttons inherited from UIControl in the horizontal UICollectionView. I want to add a behavior so that even when we do horizontal scrolling through buttons, my buttons don't catch touching, and first of all scrolling catches UICollectionView
-- UICollectionView
-- UIControl (button)
-- UIControl (button)
-- UIControl (button)
How can this be done?
UICollectionView inherits from UIScrollView. So you have access to;
I would use these checks to see if the collection isScrolling, and if so return from all button taps.