Apple Pencil draws annotations on "View"

I have the viewItemGroup selected in the toolGroupManager but I can still make mark up annotations with Apple Pencil. I found there is a property called applePencilDrawsInk in the PTToolsSettingsManager . Is this what I should be using? I want the pencil to act as the pan tool for scrolling if no other annotations are selected. If so how do I access this property. ThetoolManager doesn’t have it and if I make an instance of PTToolsSettingsManager it doesn’t work either.

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:

Guides:APIs:Forums:

Hi Jack,

You would be able to using the Apple pencil as a pan tool by setting the pencilTool property as PTPanTool:

documentController.toolManager.pencilTool = PTPanTool.self

Please let us know if this works for you.

Best Regards,
Sahil Behl.