<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIScribbleInteractionDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIScribbleInteractionDelegate"
  },
  "title" : "UIScribbleInteractionDelegate"
}
-->

# UIScribbleInteractionDelegate

Methods for customizing or suppressing Scribble behavior within text input views.

```
@MainActor protocol UIScribbleInteractionDelegate : NSObjectProtocol
```

## Overview

By default, Scribble let users enter text by writing directly into any editable view that implement [`UITextInput`](/documentation/UIKit/UITextInput). In apps with customized text fields, you can use the [`UIScribbleInteractionDelegate`](/documentation/UIKit/UIScribbleInteractionDelegate) callbacks to optimize the UI for a better writing experience, including:

- Opting individual text fields in or out of Scribble interactions.
- Controlling how quickly a given text field responds to input, giving the view an opportunity to change its configuration, if necessary.
- Receiving notifications when the user writing begins and ends.

## Topics

### Allowing and controlling Scribble interactions

[`scribbleInteraction(_:shouldBeginAt:)`](/documentation/UIKit/UIScribbleInteractionDelegate/scribbleInteraction(_:shouldBeginAt:))

Returns a Boolean value that indicates whether the delegate should allow writing at a specific location in the view.

[`scribbleInteractionShouldDelayFocus(_:)`](/documentation/UIKit/UIScribbleInteractionDelegate/scribbleInteractionShouldDelayFocus(_:))

Tells the delegate to delay focusing the text input view.

### Tracking Scribble input

[`scribbleInteractionWillBeginWriting(_:)`](/documentation/UIKit/UIScribbleInteractionDelegate/scribbleInteractionWillBeginWriting(_:))

Informs the delegate when the user begins writing in the view.

[`scribbleInteractionDidFinishWriting(_:)`](/documentation/UIKit/UIScribbleInteractionDelegate/scribbleInteractionDidFinishWriting(_:))

Informs the delegate that the user stops writing in the view, after Scribble transcribes and enters the last word.



---

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)