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

2019-01-21 12:43发布

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.

7条回答
【Aperson】
2楼-- · 2019-01-21 13:07

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".

查看更多
Anthone
3楼-- · 2019-01-21 13:24

It works with Three finger scroll on the Track pad.

查看更多
【Aperson】
4楼-- · 2019-01-21 13:25

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

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

查看更多
Juvenile、少年°
5楼-- · 2019-01-21 13:27

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.
查看更多
Explosion°爆炸
6楼-- · 2019-01-21 13:30

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)

查看更多
狗以群分
7楼-- · 2019-01-21 13:32

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.

查看更多
登录 后发表回答