Interface UITextViewDelegate

All Superinterfaces:
NSObjectProtocol, ObjCProtocol, UIScrollViewDelegate
All Known Implementing Classes:
SLComposeServiceViewController, UITextViewDelegateAdapter

public interface UITextViewDelegate
extends NSObjectProtocol, UIScrollViewDelegate
  • Method Details

    • shouldBeginEditing

      boolean shouldBeginEditing​(UITextView textView)
    • shouldEndEditing

      boolean shouldEndEditing​(UITextView textView)
    • didBeginEditing

      void didBeginEditing​(UITextView textView)
    • didEndEditing

      void didEndEditing​(UITextView textView)
    • shouldChangeCharacters

      boolean shouldChangeCharacters​(UITextView textView, NSRange range, String text)
    • didChange

      void didChange​(UITextView textView)
    • didChangeSelection

      void didChangeSelection​(UITextView textView)
    • shouldInteractWithURL

      boolean shouldInteractWithURL​(UITextView textView, NSURL URL, NSRange characterRange, UITextItemInteraction interaction)
      Since:
      Available in iOS 10.0 and later.
    • shouldInteractWithTextAttachment

      boolean shouldInteractWithTextAttachment​(UITextView textView, NSTextAttachment textAttachment, NSRange characterRange, UITextItemInteraction interaction)
      Since:
      Available in iOS 10.0 and later.
    • shouldInteractWithURL

      @Deprecated boolean shouldInteractWithURL​(UITextView textView, NSURL URL, NSRange characterRange)
      Deprecated.
      Deprecated in iOS 10.0. Use textView:shouldInteractWithURL:inRange:interaction:
    • shouldInteractWithTextAttachment

      @Deprecated boolean shouldInteractWithTextAttachment​(UITextView textView, NSTextAttachment textAttachment, NSRange characterRange)
      Deprecated.
      Deprecated in iOS 10.0. Use textView:shouldInteractWithTextAttachment:inRange:interaction: