Support for https://localhost on iOS

I got the idea for the cache based approach from here: http://www.cocoawithlove.com/2010/09/substituting-local-data-for-remote.html
The part that got my attention is:

On the Mac, you could use a range of different approaches in the WebViewDelegate to do this, including implementing webView:resource:willSendRequest:redirectResponse:fromDataSource: to substitute one NSURLRequest for another. Unfortunately, the UIWebViewDelegate in iOS is not nearly as capable so we need to do this another way.

So I'm not sure what you describe is doable.