meetpd
meetpd

Reputation: 9219

How to selectively change font style (e.g. make italics, etc) in TextView in iPhone SDK?

I have few lines of text in TextView.

I want to apply italics to some of these lines (not all).

It is not possible for me to us seperate textviews in this particular case.

How can I make the text italics in that case?

Thanks!

Upvotes: 0

Views: 533

Answers (2)

Abizern
Abizern

Reputation: 150775

You could try using NSAttributed strings in the text view.

Upvotes: 1

EmptyStack
EmptyStack

Reputation: 51374

Its not possible in that case. Use UIWebview instead.

Upvotes: 1

Related Questions