iphoneiphone-5ios5

Can i test accelerometer effect in Xcode simulator?


I am working on an app that manages the alpha property of image views. Alpha property can increase/decrease as the user moves the phone. I saw something on here about using a subclass of UIAccelerometer. Can anyone help me to do this so that I can test it on simulator? Thanks


Solution

  • Yo cant test it using simulator, you should use real device for testing accelerometer. Check here, it may help you.