Use UITextView for text editing. If you need rich text, you have to write something on your own – not currently available. Cocoanetics did start implementing rich text label at https://github.com/Cocoanetics/NSAttributedString-Additions-for-HTML and AFAIK he did want to create rich text editor too (at least I read this on Twitter).
solved Text Editor Example for iPhone [closed]