uiaccelerometer

UIAccelerometer and UIScrollView

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 setContentOffse...

What are the Accelerometer values when we reverse the direction of iphone

Hello all I am working an app that interacts with accelerometer values.. That is I need to do action when I reverse its direction (when orientation is same 1 ) , and need to stop action when I come to original direction.. how can I achieve this? Could any one suggest the way to do it..I now have the accelerator working, but I am not ...

How can I calibrate the accelerometer?

I'm using the accelerometer to move an object on my screen. It's only working when the iphone is flat. If I use the iPhone in another position, the object is not moving like I want (the Y axis is not well managed). So, I've to calibrate the position of the accelerometer, I guess. But I've no idea how to do this. Please help me. Thank...

Getting level of rotation with UIAccleration

Hello. Games like FroggyJump for iPhone figure out the rotation of the iphone. I'm getting confused with the acceleration values. How do I calculate the level of rotation? I suppose I need to consider when the iphone isn't perfectly upright. Thank you. I'm also wanting to use the new Core Motion framework with the "Device Motion" for...