How to mimic two-finger scroll/drag gesture on ios simulator?

44,077

Solution 1

Holding the "Alt/Option" key and dragging simulates multi-touch pinch-to-zoom.

Holding "Alt/Option + Shift" and dragging simulates multi-touch scrolling.

Solution 2

There is a nice table with all the supported gestures in the iOS Simulator User Guide from Apple. Here is the extract for the two-finger drag:

  1. Place the pointer where you want the two-finger drag to occur.
  2. Hold down the Option key.
  3. Move the circles that represent finger touches to the start position.
  4. Move the center of the pinch target by holding down the Shift key, moving the circles to the desired center position, and releasing the Shift key.
  5. Hold down the Shift key and the mouse button, move the circles in the direction you want to drag, and release both the Shift key and the mouse button.

Hope it helps.

Solution 3

To appear two fingers:

press ALT and drag mouse.

To zoom using two fingers:

press ALT and press SHIFT (to adjust touches.After adjusting release SHIFT key) and drag mouse.

Solution 4

Things moved around in Sierra for me, but here is how I enabled 3-finger scrolling:

  1. **System Preferences > Accessibility
  2. Scroll down to Mouse & Trackpad and tap Trackpad options
  3. Make sure 'Enable Dragging' is selected
  4. Select 'three finger drag' from the drop-down

Makes such a big difference when testing on various devices & simulators.

Solution 5

The best way to scroll in the iPad simulator is by the Three Fingers dragging, which is a global setup of the OS X and not a particular feature of the iOS simulator.

In order to scroll using three fingers you need to turn on the 'Three Finger Drag' under TrackPad > Point and Click in the Settings App of OS X.

and to set the Mission Control and App Exposé to use four fingers (in TrackPad > More Gestures in the Settings App of OS X)

(I made beautiful screenshots, but I'm too rocky to post answers with images)

Share:
44,077
Tony Xu
Author by

Tony Xu

Updated on May 16, 2020

Comments

  • Tony Xu
    Tony Xu about 4 years

    I have a scroll page that I specified two fingers minimum. It works on my device, but don't know how to mimic this gesture on Simulator. I can mimic one-finger scroll without problem. I've tried option/ctrl/shift etc, but couldn't get it work. Maybe my combination is wrong. Anyone knows how? Thanks.

  • Tony Xu
    Tony Xu over 11 years
    I hold Alt(i.e., Command) key and Shift key, and two fingers on Mac mouse pad, scrolling up or down, didn't see a response .... :(
  • Joe C
    Joe C over 11 years
    I don't have a mac mouse pad to test with, but I don't believe you're supposed to be using the two fingers - just one. You're not enabling the multi-touch in the simulator, you're simulating it.
  • JESii
    JESii over 10 years
    Perfect! Simple and easy to use. Thanks
  • Marcus Leon
    Marcus Leon over 8 years
  • Oliver P
    Oliver P about 8 years
    Sorry didn't mean to down vote but this is just the same as ALT+SHIFT and normal click, no need to enable Three finger drag to do this.
  • Arsh Aulakh
    Arsh Aulakh about 7 years
    my friend, you are awesome!
  • Brent
    Brent almost 7 years
  • henrique
    henrique about 5 years
  • Harry B
    Harry B almost 5 years
    3 Finger drag is currently found under Accessibility -> Mouse & Trackpad -> Trackpad Options -> ✓ Enable dragging -> three finger drag
  • Duncan C
    Duncan C almost 4 years
    The part you quoted explains how to do a pinch gesture, where the 2 fingers move together/apart. That doesn't explain how to do a 2 finger swipe, where the fingers move in the same direction. It sounds like you use option-shift for that.
  • Duncan C
    Duncan C almost 4 years
    Yes, Apple never updated the simulator to map from Mac OS multi-touch to multi-finger iOS gestures. It's only been what, 8 years?
  • Fearnbuster
    Fearnbuster over 2 years
    If pressing the given key doesn't seem to work, make sure that the "Send Keyboard Input to Device" feature isn't enabled. To enable/disable this, while the emulator is focused open the I/O menu -> Input -> Send Keyboard Input to Device