Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Simulate a 2 finger single tap on the simulator

I am trying to detect gestures on a specific part of my screen close to the right hand most side.

When I try tapping using this approach (iOS simulator: how to do a 2 finger single tap on a mac laptop?), the two "fingers" appear at opposite ends of the screen. How do I get the simulator to tap so that the "fingers" are next to each other.

like image 394
jyek Avatar asked Apr 13 '13 05:04

jyek


People also ask

Which key is simulated gesture in iOS simulator?

The iOS simulator allows applications built for iOS (such as the iPhone, iPad) to be developed and tested on an iMac system. To test gestures in this environment you normally hold down the alt/apple key on the keyboard and use a mouse.

How are gestures simulated on a virtual device in simulator?

Simulating touch gestures To test an effect that responds to someone's touch — for example, taps and swipes on the device screen: In the Simulator, click the hamburger icon in the menu bar. Select Simulate Touch.

How do you pinch zoom in simulator?

Pinch to zoom: Pinch using two fingers to zoom in/out. Tap: Tap on touch pad to select/click.


2 Answers

Use Option key to show two fingers icons on simulator screen. Place them as close as you want them to be. Then press Shift to move them to wherever on the screen you want.

like image 169
Zen Avatar answered Sep 25 '22 22:09

Zen


When in the simulator, hold the option key down and click - this will simulate a two-finger tap!

like image 30
Jonathan Zhan Avatar answered Sep 21 '22 22:09

Jonathan Zhan