I would definitely use HTML for this purpose, it gives you double flexibility that you can either download from a pre-cached file that comes with your application, or for dynamic faq that can be hosted and delivered from a web server
If you transfer the UIWebView to the controller, you can make simple code snippets, for example, the following
[self openURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"help" ofType:@"html"]]];
or
[self openURL:[NSURL URLWithString:@"http://somedomain.com/iPhoneHelp/"]];
If the open URL method looks something like this:
- (void) openURL:(NSURL *)url { HelpWebViewViewController *webView = [[HelpWebViewViewController alloc] initWithURL:url]; [self.navigationController pushViewController:webView animated:YES]; [webView release]; }
Provide the init method on this web controller to set the URL for the full screen UIWebView
source share