Author Topic: Scrollview with clickable buttons not scrolling.  (Read 1512 times)

wallabie

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 200
    • View Profile
Scrollview with clickable buttons not scrolling.
« on: March 24, 2014, 02:19:58 AM »
On IOS I'm trying to duplicate a basic horizontal scrollview for photos viewing.

1. I have a horizontal scrollview
2. inner items are icons of photos that the user can click to select (implemented as image buttons)
3. Buttons work as expected when interacting.
4. Not able to scroll the scrollview when swiping.
5. When not using buttons, and only image sprites, then scrolling works.
6. It seems that the scrollview component is not able to differentiate between a touch/drag or swipe as opposed to touch to select.

Video link:   https://dl.dropboxusercontent.com/u/48378123/NguiNotScroll.mp4
« Last Edit: March 24, 2014, 02:56:03 AM by wallabie »

wallabie

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 200
    • View Profile
Re: Scrollview with clickable buttons not scrolling.
« Reply #1 on: March 24, 2014, 06:06:34 AM »
Found the answer:

Had to add "UIDragScrollView" component to the scrollview items.