<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIIndirectScribbleInteractionDelegate-hdh/indirectScribbleInteraction(_:didFinishWritingInElement:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:5UIKit37UIIndirectScribbleInteractionDelegateP08indirectcD0_25didFinishWritingInElementySo13UIInteraction_p_0K10IdentifierQztF"
  },
  "title" : "indirectScribbleInteraction(_:didFinishWritingInElement:)"
}
-->

# indirectScribbleInteraction(_:didFinishWritingInElement:)

Informs the delegate when the user finishes writing.

```
func indirectScribbleInteraction(_ interaction: any UIInteraction, didFinishWritingInElement elementIdentifier: Self.ElementIdentifier)
```

## Parameters

`interaction`

The interaction where the user finished writing.

`elementIdentifier`

The identifier of the element that should receive focus.

## Discussion

Use this to reset placeholders or other UI elements, if appropriate, to their state from before the user started writing.

---

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)