I'm trying to have a WebView open a local html file like in RapidWeaver. Here is my source:
It opens to show just a white are where my page should be. What's wrong?
- (void) awakeFromNib {
NSString* path;
path = [[NSBundle mainBundle] pathForResource"welcome" ofType"html"];
[[myWebView mainFrame] loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPathath]]];
}
It opens to show just a white are where my page should be. What's wrong?