How to insert HTML into a UIWebView
This should do the trick:
NSString *myHTML = @"<html><body><h1>Hello, world!</h1></body></html>";
[myUIWebView loadHTMLString:myHTML baseURL:nil];
- (void)loadHTMLString:(NSString *)string baseURL:(NSURL *)baseURL;
baseURL can be a fileURL to your resources folder if you have any images.