iOS UI Elements Text View - IOS

What is the use of Text View?

Text View is used for displaying multi line of scrollable text, which is optionally editable.

Important Properties

  • dataDetectorTypes
  • delegate
  • editable
  • inputAccessoryView
  • inputView
  • text
  • textAlignment
  • textColor

Important Delegate Methods

Add a Custom Method addTextView

Implement the textView Delegates in ViewController.m

Update viewDidLoad in ViewController.m as follows


When we run the application, we'll get the following output −

iOS - Text View

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd Protection Status

IOS Topics