PencilKit updates
Learn about important changes to PencilKit.
Overview
Browse notable changes in PencilKit.
June 2026
Strokes
Access and assign a stable identity to strokes and stroke paths using the
idproperty on PKStroke and PKStrokePath, which conform toIdentifiable.Select strokes programmatically and respond to selection changes using the selection property and the canvasViewSelectionDidChange(_:) delegate method.
Erase portions of a drawing along a path using erasePath(_:mask:transform:), or get a new drawing with the erasure applied using erasingPath(_:mask:transform:).
Convert a stroke path to a
CGPathusing the bezierRepresentation property, or create a stroke path from a bezier path using init(bezierPath:creationDate:pointProvider:).
Handwriting recognition
Recognize handwritten text, search within ink, and generate indexable string content using PKStrokeRecognizer.
See Also
Technology and frameworks
Accelerate updatesAccessibility updatesActivityKit updatesAdAttributionKit UpdatesApp Clips updatesApp Intents updatesAppKit updatesApple Intelligence updatesAppleMapsServerAPI UpdatesApple Pencil updatesARKit updatesAudio Toolbox updatesAuthenticationServices updatesAVFAudio updatesAVFoundation updates