views:

31

answers:

2

Hi,

I want to scroll a scrollview based on the UIAccelerometer values. What is the best way to accomplish this?

Thanks and Regards

A: 

What have you tried till now? You can refer the code samples Accelerometer Graph, Bubble Level for Accelerometer and Scrolling, Scroll View Suite for Scroll View. You'll get the idea of how to access accelerometer values and how to scroll a scroll view. Then putting the two together won't be very difficult right?

lukya
A: 

Hi.. My main problem is that using the accelerometer values , I cannot set a content offset. Because the scrollview itself scrolls using a particular velocity and theres jerks happening when i try to scroll using accelerometer valuse

Mahadevan S