07-21-2023, 10:08 PM
Take a look at [**UTPlaceholderTextView**][1].
This is a convenient subclass of UITextView that supports placeholder similiar to that of UITextField. Main peculiarities:
* Does not use subviews
* Does not override drawRect:
* Placeholder could be of arbitrary length, and rendered just the same way as usual text
[1]:
This is a convenient subclass of UITextView that supports placeholder similiar to that of UITextField. Main peculiarities:
* Does not use subviews
* Does not override drawRect:
* Placeholder could be of arbitrary length, and rendered just the same way as usual text
[1]:
[To see links please register here]