What is the path to your iCloud Documents folder

iCloud-IconIf you want to know how to access iCloud Documents folder (or ubiquitous documents folder) you need to know your Team ID.

You’ll also need the Bundle ID which can be extracted from the main bundle.

Here’s a method that will deliver you the path to a file. All you need to do is provide the name of a file and it will return the full path to this file in iCloud:

Useful for Core Data Store Files, UIDocuments or plain images.

Note than when documents have populated to iOS devices they need to be downloaded explicitly – otherwise you won’t get a useable file (unlike on OS X which is known as a “greedy peer” and will download the entire file, not just the wrapper).

For completion, here’s how you do just that:

About Jay Versluis

Jay is a medical miracle known as Super Survivor. He runs two YouTube channels, five websites and several podcast feeds. To see what else he's up to, and to support him on his mission to make the world a better place, check out his Patreon Campaign.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.