genaks genaks - 5 months ago 77
Swift Question

How to add toggleBoldface option to a UITextView in iOS?

I wish to add toggleBoldface, toggleItalics and toggleUnderline to the editting options of a UITextView. How can this be done? Preferrably in Swift please.


Enable the text view's allowsEditingTextAttributes property.