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.
问题:
回答1:
Holding the Alt key and dragging simulates multi-touch pinch-to-zoom.
Holding Alt+Shift and dragging simulates multi-touch scrolling.
回答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:
- Place the pointer where you want the two-finger drag to occur.
- Hold down the Option key.
- Move the circles that represent finger touches to the start position.
- 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.
- 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.
回答3:
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)
回答4:
It works with Three finger scroll on the Track pad.
回答5:
Things moved around in Sierra for me, but here is how I enabled 3-finger scrolling:
- **System Preferences > Accessibility
- Scroll down to Mouse & Trackpad and tap Trackpad options
- Make sure 'Enable Dragging' is selected
- Select 'three finger drag' from the drop-down
Makes such a big difference when testing on various devices & simulators.
回答6:
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.
回答7:
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".