In my iOS app I am loading a local html file which internally is making an ajax call to a local xml resource which is failing. I am using NSURLCache to intercept the request.
Previously i was opening the html directly in the browser. Using GCDWebServer to host a simple server did the work and opened the html file with localhost.