iphone - Underline / Bold in UITextView -


is possible underline or embolden bits of text in uitextview?

for example text view has headings in it, , underlined...

random mode
in random mode, can generate numbers...

sweepstake mode
in sweepstake mode...

if not, best way achieve this?

thanks

use should use nsattributedstring... , use controllers drawing nsattributesstring..

controller nsattributedstring

note: u cant use uitextview display nsattributedstring

ps:from ios6, uilabel support nsattributedstring, should use uilabel directly instead of ohattributedlabel natively supported os.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -