URL to html file in the application package
URL to html file in the application package
- Subject: URL to html file in the application package
- From: Kristofer Szymanski <email@hidden>
- Date: Mon, 6 Dec 2004 04:37:11 +0100
Hello,
I use:
- (IBAction)releaseNotes:(id)sender
{
NSString *urlClear = [NSString
stringWithString:@"file:///Library/Documentation/Test/index.html"];
[[webView mainFrame] loadRequest:[NSURLRequest requestWithURL:[NSURL
URLWithString:urlClear]]];
}
to display html page with release notes in a web view but I wonder what
the URL should be if the file is in the /Contents/Resources folder in
the application package?
/ Kristofer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden