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

Output

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

iOS - Text View

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

IOS Topics