Skip to main content
quirky_face0D44
Participant
July 13, 2019
Answered

How to Program Xcode to store a PDF file into the Files iCloud folder on my iPhone.

  • July 13, 2019
  • 1 reply
  • 772 views

I need guidance in programming my iOS, Xcode, Swift app to copy my PDF NSData stream into the Files iCloud folder on my iPhone. Your Adobe Scan app can move a PDF file into the Files folder on my phone. I am trying to use UIDocument but can not get the correct NSURL. Did Adobe get special file permission to do this?

This topic has been closed for replies.
Correct answer quirky_face0D44

There is no special file permissions needed.  This question was answered years ago.  Start at this link on Apple's Forum and continue to follow the links provided;  I followed their instructions and now have the code needed to store files into iCloud.  Ya

https://forums.developer.apple.com/thread/109961   or search for iCloud Drive Files.

1 reply

quirky_face0D44
quirky_face0D44AuthorCorrect answer
Participant
July 19, 2019

There is no special file permissions needed.  This question was answered years ago.  Start at this link on Apple's Forum and continue to follow the links provided;  I followed their instructions and now have the code needed to store files into iCloud.  Ya

https://forums.developer.apple.com/thread/109961   or search for iCloud Drive Files.