问题
Is it possible to do this (with a menu, a shortcut, or a modifier key + mouse)?
For example, you can use the mouse to test simple touch gestures in the simulator, like left mouse acts as single finger, and shift / option allow for different two finger gestures.
I have been unable to find any documentation one way or the other about whether this is possible, despite this developer.apple.com page where the simple, easy-to-understand API changes for supporting Apple Pencil hardware are documented.
Do I need a physical iPad Pro + Pencil hardware to test my Pencil support?
(My app is not a drawing app, just an app where touch input should work with large touch targets and Pencil should allow finer distinctions.)
回答1:
The Simulator does not currently support simulating Apple Pencil input. We are aware people would like to do this.
来源:https://stackoverflow.com/questions/44639153/xcode-ios-simulator-can-i-use-the-mouse-as-pretend-apple-pencil-input-on-ipad