Xcode iOS Simulator: can I use the mouse as pretend Apple Pencil input (on iPad Pro), for testing?

六月ゝ 毕业季﹏ 提交于 2019-12-11 00:15:52

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!