title: How can I save a JSON response to a file that would be accessible from within a local HTML file loaded inside UIWebWiew
body: <p>I am receiving a JSON response and am currenlty able to make use of the data within my app. </p>
  
  <p>I would like to save this response to a file so I could reference within an JS file located inside my project. I have already requested this data once when the application is launched so why not save it to a file and reference that throughout so only one call is needed for the data.</p>
  
  <p>The HTML files for my UIWebView are imported into my Xcode project using the "create folder reference" option and the path to my JS file is <code>html-&gt;js-&gt;app.js</code></p>
  
  <p>I want to save the response as <code>data.json</code> somewhere on the device and then reference inside my js file like this <code>request.open('GET', 'file-path-to-saved-json.data-file', false);</code></p>
  
  <p>How can I achieve this?</p>