简体   繁体   中英

How to simulate a bump gesture on ios simulator?

Does anyone know how to simulate a bump gesture on the ios simulator? Is this even possible? I'm using xcode 4.6.

Any help on this topic would be much appreciated!

I use iSimulate to use the accelerometer in the simulator. It consists of a simulator only library you link with and an app you run on your device. When you start your app in the simulator, the app on your device will connect to it on the local network and relay all touch & accelerometer events to the simulator.

So final answer is its simply not possible since the ios simulator does not have an accelerometer. iSimulate is an alternative to this issue per Mike C.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM