Hey. I have a Navigation-controller-based application with a number of Viewcontrollers in it which all have a property:
NSString *infoFile;
in them. In the viewDidLoad:-method i assign a path to this variable using
self.infoFile = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"filename" ofType:@"html"]];
To accompany my viewControllers I have a corresponding number of html-files in my resources-folder in xCode(in a group(not folder) of their own named html).
The thing is, only some of these html-files are found, trying to access other crashes my app(SIGABRT).
I'm absolutely positive that i've entered the correct file-names, i've even tried changing the file-names(and in my code accordingly) to many different ones without any positive result.
Any idea?