Product: PDFTron iOs SDK
Product Version: 9.2.0.79330
Please give a brief summary of your issue:
(Think of this as an email subject)
Unable to turn off Apple pencil input on PDF file when PTPan tool is selected.
Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
I am unable to turn off Apple pencil input when the default annotation tool is PTPanTool. Please find the steps below to reproduce this issue.
-
Initialize the PDFNet framework
[PTPDFNet Initialize:PDFNet_License_Key]; -
Initialize the PTPDFViewCtrl.
PTPDFViewCtrl *_pdfViewCtrl = [[PTPDFViewCtrl alloc] init]; -
Initialize the PTToolManager.
PTToolManager *_toolManager = [[PTToolManager alloc] initWithPDFViewCtrl:_pdfViewCtrl];
_pdfViewCtrl.toolDelegate = _toolManager; -
Initialize PDF document and set in the PDFViewCtrl class
PTPDFDoc *_docToOpen = [[PTPDFDoc alloc] initWithFilepath:_PDFFilePath];
[_pdfViewCtrl SetDoc:_docToOpen]; -
Select default annotation tool
[_toolManager changeTool:[PTPanTool class]]; -
Determines if an Apple Pencil should immediately draw ink
PTToolsSettingsManager *toolManager = [PTToolsSettingsManager sharedManager];
toolManager.applePencilDrawsInk = NO;
toolManager.pencilInteractionMode = PTPencilInteractionModeSystem; -
Apple pencil input is still working on PDF files.
Please provide a link to a minimal sample where the issue is reproducible: