Within UIWebView:shouldStartLoadWithRequest:, I’d like to know if the page being loaded is a local file or a remote file. Is there an easy way of finding this out?
I suppose every time a file is loaded I could search the filesystem looking for the file, but is there another way?
Yes it is possible. You should use a regular expression to test against the hostname. Local pages won’t match the regular expression.