views:

82

answers:

1

hello again ,

i want to pass some html i have saved as string and stored in an array into a UIWebView. can anyone help me on how to do this because all i can find is how to grab it from the internet rather than already stored data

Thanks

A: 

Are you trying to provide generated HTML content to a UIWebView? If so, you'll want to use -[UIWebView loadHTMLString:baseURL:]. You can pass your HTML string for the first argument, and nil in for the second argument.

Ben Gottlieb
You might want to pass something meaningful for the second argument, however, at least if you have something meaningful to pass.
Williham Totland