iink SDK on Device

Answered

Swift Eraser Method

Hello, 

I tried to follow the steps of this one https://developer-support.myscript.com/support/discussions/topics/16000023289 to implement the eraser but I do not find the following files: CaptureTypes.h and CapturePointHelper.m. I am only to find EditorViewController.mm.

image

Could you tell me where I can find the other files so that I can implement an Eraser. Thanks in advance! 



Best Answer

Dear Thanh Hoang,

thank you for contacting us and your question.

Currently, you should proceed similarly to the topic you pointed: https://developer-support.myscript.com/support/discussions/topics/16000023289: The only differences are that the CaptureTypes.h was replaced by the InputView.h file and the CapturePointHelper.m was replaced by the InputView.mm file.

Updating the code similarly in both files worked immediately on my side.

Best regards,

Olivier


Answer

Dear Thanh Hoang,

thank you for contacting us and your question.

Currently, you should proceed similarly to the topic you pointed: https://developer-support.myscript.com/support/discussions/topics/16000023289: The only differences are that the CaptureTypes.h was replaced by the InputView.h file and the CapturePointHelper.m was replaced by the InputView.mm file.

Updating the code similarly in both files worked immediately on my side.

Best regards,

Olivier

Thanks! It works perfectly!