Display HTML data in a UITextView

In my demo application, I am trying to send a request to a test WebService,

and it will send me JSON format data back. And the key is a string,

then the value is HTML data. I want to use a UITextView to display content.

But the result is this:

enter image description here

I want the content display to me look like an HTML web page,

but I don't know how to do this with HTML data.

Please help me with this and I don’t know how to write code,

therefore there is no code for you. I'm sorry about that.

Thanks in advance.

+2
source share

Source: https://habr.com/ru/post/924676/


All Articles