tags:

views:

335

answers:

1

Hi , iam trying to bold / italic text but i use this code to bold my font but when i press bold button whole the UITExtView going to bold but i want select some text and bold / italic or change the color of them ..

textPad.font = [UIFont boldSystemFontOfSize:12];
+1  A: 

You can't. UITextView is all one font. Simplest way to get proper text styling is to use a UIWebView instead.

Paul Lynch