i am creating a app that manage the alpha property of image views. alpha property increase/decrease as the user moves the phone.I saw something on here about using a subclas
You can "capture" accelerometer data coming from a real device.
You can purchase iSimulate
here: http://bobueland.com/cocos2d/2011/how-to-install-isimulate/
..or
you can use a free solution: accelerometer-simulator
More about how to install or tutorial:
Yo cant test it using simulator, you should use real device for testing accelerometer. Check here, it may help you.
You can't test Accelerometer feature on Xcode simulator.
For this, see following on apple's site.
Limitations of Testing in iOS Simulator