"Show file included into project in UIWebView"

Mon 22 February 2010

NSString *path = [NSString stringWithString:[[NSBundle mainBundle] pathForResource:@"feedback" ofType:@"html"]];

webView.opaque = NO;

webView.backgroundColor = [UIColor clearColor];

[webView setDelegate:self];

[webView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:path isDirectory:NO]]];