Reputation: 89
I'm creating a registration app. It has two tabs, one tab is the registration form for students to fill out, and the other gives the user the ability to update the form.
I'm still pretty new to iOS development, as well as Objective-c. Currently I'm saving a .csv file that contains the form data in the documents directory, in hopes that the app user can pull that file off the iPad and open it in microsoft excel. Unfortunately I'm not an Apple Developer yet, so I am not able to test it with a physical device, and I have read the documentation but didn't find what I was looking for.
Is this possible? If not, what is the best way to save a file and then have the ability to upload it to a computer?
Upvotes: 0
Views: 449
Reputation: 9143
There is more than one way to provide your users with a way to receive files that are saved in your app (some options already mentioned in the comments).
You can implement several methods and let your users choose their preferred one, taking into account that not all of them would like to use the same method (using iTunes for file sharing is not for everyone for example).
So here are the options you have, there are probably more but I think this would be enough for this purpose:
UIFileSharingEnabled
key.Upvotes: 1