I am new to Xcode, attempting to build my first iPad app. I need to write some code to download a file from the internet and save it to the hard drive on the iPad. I have found numerous suggestions on how to save images, or get text files then write them to the hard drive, or viewing .pdf’s, but that’s not what I’m looking for. I need code that will download any file once the correct URL is put in, and place it in a folder of my choosing. Anyone know how to do that? I would be greatly appreciative.
Share
This should get you started:
Blatantly stolen from this SO question.
BTW your subject shouldn’t contain the word ‘Xcode’ as that is the IDE used to develop the App; it doesn’t tell anyone anything about the App environment itself.