Can i test accelerometer effect in Xcode simulator?
Asked Answered
A

3

6

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

Aldosterone answered 14/5, 2013 at 11:39 Comment(0)
T
9

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

Tourism answered 14/5, 2013 at 12:11 Comment(0)
E
7

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:

Earpiercing answered 15/5, 2013 at 6:26 Comment(0)
R
5

You can't test Accelerometer feature on Xcode simulator.

For this, see following on apple's site.

Limitations of Testing in iOS Simulator

Refectory answered 14/5, 2013 at 11:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.