0 Replies
      Latest reply on Dec 2, 2019 2:02 AM by erlichg
      erlichg Level 1 Level 1 (0 points)

        Hey guys,

         

        I have a custom uiview with a uicollectionview (setup from storyboard).

        At first the collection view is off screen and I move it to view when the user swipe.

        Now, as far as focus is concerned, everything looks OK.

        In the collection view I override canBecomeFocused to true and I call setNeedsFocusUpdate.

        I see the collection view receives focus because the iem in the list is highlighted, however I can't scroll it.

        The main view catches the swipe gesture and I can't seem to make the collection view catch it.

        I tried becomeFirstResponder and cancelsTouchesInView but nothing works.

         

        What I need is when the collection view appears (after swipe), the user can scroll it.

         

        Can anyone help?