I have a webview in my iPhone application, and I also have some html files inside my Resources folder. When my app loads, I load in a page from my resources into my webview.
OK, here 3.5 years later :) ... tried Michael Gaylord's suggestion above exactly, but it didn't work in sims for 5.0, 5.1, 6.0, 6.1 - nor in real devices running same. However this SO clarification on where resources are bundled ( Where is build output going? ) helped make it work for me like this:
Make sure the project recognizes that it should be in the bundle by:
So all I had to do was copy - paste Michael's code above verbatum and change this one line:
inDirectory:@"html"]
to:
inDirectory:nil]
and Shaazam ! it worked :)