Author Topic: UIScrollView swap issue  (Read 5335 times)

doncarlos91

  • Newbie
  • *
  • Thank You
  • -Given: 4
  • -Receive: 0
  • Posts: 27
    • View Profile
UIScrollView swap issue
« on: January 24, 2017, 05:48:42 AM »
Hi All, i have a scrollview functionality with default settings, and all works  great , except one thing:
when i run game on the device and when i`m swap my finger on the scrollview on short distance - the scrollview doesn`t moves at all.
Any suggestions? (maybe there are some settings - i missed)

Thanks in advance

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIScrollView swap issue
« Reply #1 on: January 25, 2017, 02:02:55 PM »
There's a drag threshold setting specified on the UICamera.

doncarlos91

  • Newbie
  • *
  • Thank You
  • -Given: 4
  • -Receive: 0
  • Posts: 27
    • View Profile
Re: UIScrollView swap issue
« Reply #2 on: January 30, 2017, 08:37:38 AM »
Thanks for your answer Aren, i have tried to make as you said, and when im touching to screen slowly it wrks perfectly, but when m trying to swipe with finger very fast , the scrollview not moving at all.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIScrollView swap issue
« Reply #3 on: February 04, 2017, 03:29:33 AM »
It's possible that the touch events are polled infrequently enough so that your touch operation begins somewhere other than your scroll view's collider when you do it quickly. Enable debug on the UICamera to see what gets your touch event.