Adding default text to UITextView
ios, text, uitextview
Solution
For `UITextField`, there is the `placeholderText` property, which will display a grayed out text that is removed once the user starts typing.
For `UITextView`, you can use a custom implementation, such as `SZTextView`, which implements a similar functionality of a placeholder text.
Problem
I was wondering how to display a default prompt in a UITextView. If I wanted the user to type a description in a text view, the UITextView could have "description" printed in it, and when the user starts to type, it disappears.