Author Topic: Get ScrollView drag amount  (Read 3834 times)

bdominguez

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 38
    • View Profile
Get ScrollView drag amount
« on: September 23, 2014, 08:42:41 AM »
It's there any way? There is a "SetDragAmount" but there is no "GetDragAmount".

The code inside of it it's really hard to understand so I don't know how to do it.

Can you help me Aren?

Thanks!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Get ScrollView drag amount
« Reply #1 on: September 23, 2014, 12:39:15 PM »
Why do you need that? UIScrollView already updates scroll bars using the calculated value. It tends to involve quite a bit of math to calculate. UIScrollView.UpdateScrollbars.