Quote:
Originally Posted by Esko2300
how can i use a UIWebView to display a line of text?
ill go into my situation in more detail, i grab data from the server, on our main site customers have the option to fancy up their text using html. When the text is grabbed from the server it is grabed as html, so all i need to do is to be able to convert the text into its html form but im sure i need to use an nsstring cause it still needs to be displayed on the device. would it be logical to display a UIwebview for only about 3 sentences?
|
It depends on how your application is laid out. It might be an option to create the entire view as a UIWebView, but it's hard to say without seeing what you are doing. Other than writing some type of parsing mechanism, UIWebView is the only way that I know of that will automatically take care of this type of formatting.