Underline / Bold in UITextView
Is it possible to underline or embolden certain bits of text in a UITextView?
For example my Text View has headings in it, and would like those underlined...
Random Mode In random mode, you can generate numbers...
Sweepstake Mode In sweepstake mode...
If not, what is the best way to achieve this?
Use should use NSAttributedString... and use controllers for drawing NSAttributesString..
Note: u cant use UITextView to display a NSAttributedString
PS:From iOS6, UILabel now support NSAttributedString, you should use UILabel directly instead of OHAttributedLabel as it is now natively supported by the OS.
I believe NSAttributedString is what you're after, it's available in iOS 3.2 or later: look at this question