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

# scribbleInteractionShouldDelayFocus(_:)

Tells the delegate to delay focusing the text input view.

```
optional func scribbleInteractionShouldDelayFocus(_ interaction: UIScribbleInteraction) -> Bool
```

## Parameters

`interaction`

The text input view asking about delaying focus.

## Return Value

Return `true` to delay focusing the text input, `false` otherwise.

## Discussion

Normally, Scribble focuses the target input as soon as the user starts writing. If you return `true` from this callback, Scribble waits until the user pauses briefly while writing. This is useful in cases where the view shifts or transforms when becoming first responder, which can be disruptive to a user trying to write in the field.

It’s preferable to adjust the UI behavior and minimize these kinds transformations to avoid the layout changes. Only use this method as a last resort, since transcription happens all at once instead of incrementally.

---

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)