Some test text!

Search
Hamburger Icon

iOS / Guides / Apple Pencil

Apple Pencil

Overview

Apryse's iOS SDK has full support for the Apple Pencil. This guide describes the various settings and how to change them.

Annotating without an annotation tool selected

When the user does not have an annotation tool selected (ie the active tool is the pan tool), the pencil can either draw an ink annotation (default behavior), or act as a finger touch. This behavior can be changed using the applePencilDrawsInk.

Annotating with only the pencil

When the user has an Apple Pencil paired with the device, it is possible to restrict annotation creation to only pencil touches. This allows the user to conveniently scroll with a single finger. It is also useful in preventing a user's palm from inadvertently creating an annotation.

The PTToolsSettingsManager's pencilInteractionMode controls how touches are interpreted when an Apple Pencil is paired:

ModeDescription
PTPencilInteractionModeFingerAndPencilFinger touches will annotate (default on iOS 13)
PTPencilInteractionModePencilOnlyFinger touches will not annotate. Single finger can be used to scroll.
PTPencilInteractionModeSystemFollows the system setting (default on iOS 14+)

Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales