---
title: PencilKit updates
framework: updates
role: article
role_heading: Article
path: updates/pencilkit
---

# PencilKit updates

Learn about important changes to PencilKit.

## Overview

Overview Browse notable changes in PencilKit. June 2026 Strokes Access and assign a stable identity to strokes and stroke paths using the id property on PKStroke and PKStrokePath, which conform to Identifiable. 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 CGPath using 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 updates](updates/accelerate.md)
- [Accessibility updates](updates/accessibility.md)
- [ActivityKit updates](updates/activitykit.md)
- [AdAttributionKit Updates](updates/adattributionkit.md)
- [App Clips updates](updates/appclips.md)
- [App Intents updates](updates/appintents.md)
- [AppKit updates](updates/appkit.md)
- [Apple Intelligence updates](updates/apple-intelligence.md)
- [AppleMapsServerAPI Updates](updates/applemapsserverapi.md)
- [Apple Pencil updates](updates/applepencil.md)
- [ARKit updates](updates/arkit.md)
- [Audio Toolbox updates](updates/audiotoolbox.md)
- [AuthenticationServices updates](updates/authenticationservices.md)
- [AVFAudio updates](updates/avfaudio.md)
- [AVFoundation updates](updates/avfoundation.md)
