Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Virtualball

macrumors 6502
Original poster
Jun 5, 2006
401
11
I'm trying to have a WebView open a local html file like in RapidWeaver. Here is my source:

- (void) awakeFromNib {


NSString* path;
path = [[NSBundle mainBundle] pathForResource:mad:"welcome" ofType:mad:"html"];
[[myWebView mainFrame] loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:path]]];

}

It opens to show just a white are where my page should be. What's wrong?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.