Last active
January 2, 2016 22:19
-
-
Save iOSDigital/8369082 to your computer and use it in GitHub Desktop.
iOS: a method to add basic html tags into a UITextView. In this example there are 4 buttons, bold, italic, underline, link. In my app these buttons are in an inputAccessoryView, and they are tagged 1,2,3,4. If no text is selected, the method just inserts the tags at the cursor position, and then sets the cursor position in between the opening an…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment