0

When 'Scribble' is enabled in the Apple Pencil Settings, tapping on an input or textarea field in my Cordova app causes it to Terminate with this error:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[DOMRange asDomRange]: unrecognized selector sent to instance

How can I use Scribble in my text fields?

Josiah
  • 1,117
  • 5
  • 22
  • 35
  • I would open this as an issue on cordova-ios's github – Eric Jul 13 '22 at 19:29
  • Thanks @Eric! I've done so: https://github.com/apache/cordova-ios/issues/1243. I'm not much of an obj-c guy. Do you think there would be a way to bridge UIPencilInteraction to a Cordova touch event? – Josiah Jul 13 '22 at 21:09

0 Answers0