How to scroll in iOS Simulator on mac book air?

2019-06-15 07:57发布

I have a scroll view and and an embed UIImageView. Code is right but I can not scroll in the Simulator likely because I have a trackpad, not a mouse. Or can I?

4条回答
放我归山
2楼-- · 2019-06-15 08:38

You need to enable 3 finger drag:

  1. From the Apple menu, choose System Preferences.
  2. Click the Accessibility icon
  3. Choose Mouse & Trackpad from the options on the left
  4. Click Trackpad Options
  5. Place a checkmark next to "Enable dragging"
  6. From the related pop-up menu, choose “three finger drag” so there's a checkmark next to it
  7. Click OK

https://support.apple.com/en-us/HT204609

查看更多
爱情/是我丢掉的垃圾
3楼-- · 2019-06-15 08:38

When you left click is like when you touch the Screen, so click and scroll

查看更多
混吃等死
4楼-- · 2019-06-15 08:41

You can click the trackpad and drag (as other folks have said), or if you have "Three finger drag" enabled in Trackpad preferences, you can scroll with three fingers.

Here's a guide to all of the gestures in the simulator: iOS Simulator User Guide

查看更多
爷、活的狠高调
5楼-- · 2019-06-15 08:54

You need to click and hold to scroll.

查看更多
登录 后发表回答