Hi,
I want to scroll a scrollview based on the UIAccelerometer values. What is the best way to accomplish this?
Initially I set the content offset to a value based on the accelerometer values I get. Then on each scrollViewDidEndAnimating
, I again set the content offset based on the acceleromter values. I understand that setContentOffset
actually scrolls the scrollview with a uniform velocity without any acceleration. However this mechanism seems to be very jerky in scrolling the scrollview.
Any ideas will be appreciated.
Thanks and Regards