Can i test accelerometer effect in Xcode simulator?

后端 未结 3 1433
萌比男神i
萌比男神i 2021-01-13 11:19

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

3条回答
  •  逝去的感伤
    2021-01-13 11:53

    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:

    • http://builtby.me/2012/07/howto-use-the-accelerometer-in-the-iphone-simulator/
    • http://builtby.me/2012/07/iphone-accelerometer-visualizer/
    • http://myfirstiphoneapp.co.uk/2011/07/receiving-accelerometer-data/

提交回复
热议问题