Decode HTML String to normal text

In this post, I’ll provide you a quick snippet for trimming/decoding HTML text from NSString.

So, the code snippet given here will just remove the HTML tags supplied within the NSString object.

Assume you have following string.

Code snippet will convert above HTML string as follows

Hope above code snippet would help you.

Leave a Reply

Your email address will not be published. Required fields are marked *



*