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

后端 未结 7 1308
孤独总比滥情好
孤独总比滥情好 2020-12-12 22:33

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 witho

相关标签:
7条回答
  • 2020-12-12 23:02

    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.

    0 讨论(0)
  • 2020-12-12 23:03

    It works for me on MBP trackpad as well as on Magic Trackpad.

    The clue is to enable "Three finger drag" in Trackpad settings (Preferences.app), then dragging, while ALT+SHIFT are pressed, makes scrolling work as expected.

    It also works with the "Three finger scroll".

    0 讨论(0)
  • 2020-12-12 23:04

    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)

    0 讨论(0)
  • 2020-12-12 23:10

    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.
    
    0 讨论(0)
  • 2020-12-12 23:10

    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.

    0 讨论(0)
  • 2020-12-12 23:19

    It works with Three finger scroll on the Track pad.

    0 讨论(0)
提交回复
热议问题