tags:

views:

432

answers:

1

Hello,

How to display html text in textview

for example

string <h1>Krupal testing <span style="font-weight: bold;">Customer WYWO</span></h1>

Suppose text is bold so it display in textview as bold string but i want display normal text.is this possible in iphone sdk.

Thanks you,

+3  A: 

Use a UIWebView.


There's also an undocumented -[UITextView setContentToHTMLString:] method.

KennyTM
App will be rejected for using undocumented methods......... I already experience it.
Satyam svv