Instance Property

tool

The currently selected tool for drawing.

Declaration

var tool: PKTool { get set }

See Also

Configuring the Drawing Environment

var isRulerActive: Bool

A Boolean value that indicates whether a ruler view is currently visible on the canvas.

Beta
var allowsFingerDrawing: Bool

A Boolean value that indicates whether the canvas accepts input from the user’s finger in addition to Apple Pencil.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software