i want to track how fast my iPhone is moved开发者_运维问答. i checked the AceelerometerGraph Example App, where the maximum Amount was about 2.0 (in this app)
Id have an app that does one thing if you shake it one way, and another if you shake it the oth开发者_StackOverflow中文版er.
How can you use the accele开发者_如何转开发rometer to detect if the phone has come to a halt.
When my iPhone app resigns active status, the sharedAccelerometer singleton instance of UIAccelerometer stops sending accelerometer:didAccelerate: messages to my delegate.
I have subclass UIView class in a Bounce class with Accelerometer. This Bounce class show an image and move it on the screen. When the iPhone device is moved, this image Bounce on the screen.开发者_如