<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PencilKit",
  "identifier" : "/documentation/PencilKit/PKCanvasViewDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "PencilKit"
    ],
    "preciseIdentifier" : "c:objc(pl)PKCanvasViewDelegate"
  },
  "title" : "PKCanvasViewDelegate"
}
-->

# PKCanvasViewDelegate

Methods for monitoring drawing related changes in a canvas view.

```
@MainActor protocol PKCanvasViewDelegate : UIScrollViewDelegate
```

## Overview

Implement the methods of the [`PKCanvasViewDelegate`](/documentation/PencilKit/PKCanvasViewDelegate) protocol to monitor drawing events in a [`PKCanvasView`](/documentation/PencilKit/PKCanvasView) object. Specifically, determine the start- and end-of-event sequences using the currently selected tool, and determine when those events affect the drawn content.

## Topics

### Responding to drawing-related changes

[`canvasViewDrawingDidChange(_:)`](/documentation/PencilKit/PKCanvasViewDelegate/canvasViewDrawingDidChange(_:))

Tells the delegate that the contents of the current drawing changed.

[`canvasViewDidFinishRendering(_:)`](/documentation/PencilKit/PKCanvasViewDelegate/canvasViewDidFinishRendering(_:))

Tells the delegate that the previously drawn content is ready to display.

### Responding to selection changes

[`canvasViewSelectionDidChange(_:)`](/documentation/PencilKit/PKCanvasViewDelegate/canvasViewSelectionDidChange(_:))

Tells the delegate that the selection changes.

### Responding to new event sequences

[`canvasViewDidBeginUsingTool(_:)`](/documentation/PencilKit/PKCanvasViewDelegate/canvasViewDidBeginUsingTool(_:))

Tells the delegate that the user started a new drawing sequence with the currently selected tool.

[`canvasViewDidEndUsingTool(_:)`](/documentation/PencilKit/PKCanvasViewDelegate/canvasViewDidEndUsingTool(_:))

Tells the delegate that the user ended a drawing sequence with the tool they were using.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)