Friends
I need to send a text file of CSV data to my iOS app.
I cannot find any example code for how to do it, and I am stumped.
I imagining the user will be on a device that can send the file to my iOS app using Air Drop.
I have seen a lot of partial information about:
- UIActivityViewController: I am using this to go in the opposite direction. Getting a PDF file generated in my app off the iPad
- UIFileSharingEnabled and LSSupportsOpeningDocumentsInPlace. This suggests that if I set these to true in
info.plist
then my apps document directory will show up in the files app. Not as far as I can tell. Perhaps I am doing it wrong?