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
While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:
Guides:- API for Annotating PDFs on Cross-Platform (Core)
- Convert between different coordinates on Cross-Platform (Core) - Understanding coordinates
- Code samples to add annotations to PDFs on Cross-Platform (Core)
- Edit annotation style properties on Cross-Platform (Core)
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.