Unable to turn off Apple pencil input on PDF file when PTPan tool is selected

Product: PDFTron iOs SDK

Product Version:

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.

  1. Initialize the PDFNet framework
    [PTPDFNet Initialize:PDFNet_License_Key];

  2. Initialize the PTPDFViewCtrl.
    PTPDFViewCtrl *_pdfViewCtrl = [[PTPDFViewCtrl alloc] init];

  3. Initialize the PTToolManager.
    PTToolManager *_toolManager = [[PTToolManager alloc] initWithPDFViewCtrl:_pdfViewCtrl];
    _pdfViewCtrl.toolDelegate = _toolManager;

  4. Initialize PDF document and set in the PDFViewCtrl class
    PTPDFDoc *_docToOpen = [[PTPDFDoc alloc] initWithFilepath:_PDFFilePath];
    [_pdfViewCtrl SetDoc:_docToOpen];

  5. Select default annotation tool
    [_toolManager changeTool:[PTPanTool class]];

  6. Determines if an Apple Pencil should immediately draw ink
    PTToolsSettingsManager *toolManager = [PTToolsSettingsManager sharedManager];
    toolManager.applePencilDrawsInk = NO;
    toolManager.pencilInteractionMode = PTPencilInteractionModeSystem;

  7. Apple pencil input is still working on PDF files.

Please provide a link to a minimal sample where the issue is reproducible:

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:


Hello @arunlvn,

Thank you for getting in touch with us about this.
I believe you also submitted a support ticket regarding this issue:

I have responded to you in that ticket.