knuspermagier.de
Der privateste Blog von Philipp.

Changing attributes of editable UITextViews

Just a quick note, because all my searching only resulted in code how to change the attributes of the... displayed text (by setting textView.attributedText):

You can set the attributes that should be applied to all new text in the UITextView by setting textView.typingAttributes.

Easier than expected! (And turns out: looking at the documentation would have helped faster.)

Kommentare, Feedback und andere Anmerkungen?
Schreib mir eine E-Mail 🤓