I would like to enable the user to import data from an xml file on my iPhone app. I have already implemented an import from a web url. I also implemented fileURLWithPath to get the file locally from my mac during development, however, I believe, that works only on the simulator as far as I know, as the simulator is actually a mac process and has all the access permissions of a usual mac application, which is not the case, when I run it on the iPhone device, correct?
Thanks already for any suggestions.
René
fileURLWithPath: will work on an iOS device if you make sure that the path is inside your app’s sandboxed file subdirectory, for instance the app’s Documents directory that is shared with iTunes file sharing access.