Interactive Ink

How to catch the pointer events

Hi sir,
How to catch the pointer events in SWIFT, use the "touchesMoved" or "delegate" or anything else, can you offer me some sample code ?
What I want is to make the "earser" work , our app is almost ready, just wait for the eraser function,but the question has bothered me for 2 weeks. Thank you very much !
1 Comment

Dear Qian Bin, 


source code was just added in the "Swift eraser code" topic: https://developer-support.myscript.com/support/discussions/topics/16000023289


Best regards,


Olivier