Skip to main content

InputTextViewClipboardAttachmentDelegate

The delegate of the InputTextView that notifies when an attachment is pasted in the text view.

public protocol InputTextViewClipboardAttachmentDelegate: AnyObject 

Inheritance

AnyObject

Requirements

inputTextView(_:​didPasteImage:​)

Notifies that an UIImage has been pasted into the text view

func inputTextView(_ inputTextView: InputTextView, didPasteImage image: UIImage)

Parameters

  • inputTextView: The InputTextView in which the image was pasted
  • image: The UIImage

Did you find this page helpful?