uitextview

Asked on 2026-06-30

1 search

UITextView is Apple’s built-in UIKit text view for rich text editing and display.

From the WWDC sessions in the context:

  • In Enhance the accessibility of your reading app, Apple says UITextView on iOS gives you a rich text experience out of the box, including accessibility features like:

    • line, word, and character navigation with VoiceOver
    • Speak Screen support
    • accessible text selection
  • In What’s new in UIKit, Apple notes that UITextView also gets new writing tools behavior by default, including:

    • full inline editing, proofreading, and composition support for editable text views
    • an overlay panel for non-editable text views
  • In Elevate your app’s text experience with TextKit, Apple recommends UITextView as the convenient starting point if you want a powerful rich text editor experience, and says you can extend it with TextKit hooks for custom behavior.

If you want, I can also explain UITextView in terms of:

  • accessibility
  • writing tools
  • TextKit customization
  • how it compares with SwiftUI TextEditor