Hi all
I have local html file wich is located in project folder
I want load local html
I add this code in applicationDidFinishLaunching
but I get exception
Thanks
I have local html file wich is located in project folder
I want load local html
I add this code in applicationDidFinishLaunching
Code:
[webView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"test" ofType:@"html"] isDirectory:NO]]];
can you explain me why ? I get the directory dynamically why it is the nil?Terminating app due to uncautgth exceptionn 'NSInvalidArgument',reason [NSURL initfileURLWithPath:isdirectory:]:nil string parametr
Thanks