Formatting html tags in Objective-C
问题 I am reading an data from an XML file for my iPhone application. This data contains html tags such as <p></p> <strong> <B> , etc in it. By using NSString class can i remove these tags and format the display of the text as needed. For example, if text inside the <p> </p> i want to display it in next paragraph. Is it possible? Please suggest. Any help would be appreciated. -Sathiya 回答1: Why not leave the formatting in place, and use either a UIWebView to display the text or a TTStyledTextLabel