genaks genaks - 4 months ago 64
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.