0

In my app I made a JSON file and I stored it in folder Documents in my iPhone. Now I wanted to know if it's possible to read this JSON file by using a javascript function embedded in a UIWebView. I made a little mobile site in HTML5 and javascript that need to read this JSON to show html pages stored in folder Documents. I hope you understand what I mean and I hope you can help me to solve this issue.

lucgian84
  • 823
  • 4
  • 11
  • 28
  • How about a input type=file? Or check this answer out: http://stackoverflow.com/questions/9473582/ios-javascript-bridge – javascript is future Jul 31 '13 at 15:59
  • Maybe you didn't understand: also I've a native app that build a JSON and save it into Documents folder (this works great), then I've a mobile site in which I show a list of elements that I stored in JSON. Now I've to read the JSON stored in Documents folder by the javascript of my mobile site and this site is loaded by an UIWebView. There's a way to do that? – lucgian84 Aug 01 '13 at 07:22

0 Answers0