Questions tagged [icloud-drive]

iCloud Drive is a cloud storage by Apple

Features:

  • Store and access all of your documents in one place from any of your devices
  • Keep files and folders up to date across all your devices
  • Create new files and folders from iCloud-enabled apps
  • Work on the same file across multiple apps

iCloud for Developers

171 questions
20
votes
4 answers

UIDocumentPickerViewController returns url to a file that does not exist

I'm using UIDocumentPickerViewController to let the user select a file from iCloud Drive for uploading to the backend. Most of the time, it works correctly. However, sometimes (especially when the internet connection is…
imgx64
  • 3,715
  • 5
  • 22
  • 43
17
votes
4 answers

Swift write/save/move a document file to iCloud drive

I've been trying for over two days to write a file to iCloud drive. I have tried writing a simple text file directly, locally then moving it, using UIDocumentMenuViewController, etc. I'm not getting any errors with my code and stepping through…
Paul C
  • 201
  • 1
  • 2
  • 7
16
votes
5 answers

Why my app is not shown in iCloud Drive Folder

iCloud Drive Folder doesn't show my app's folder. This is how I send a file to iCloud Drive: - (IBAction)btnStoreTapped:(id)sender { // Let's get the root directory for storing the file on iCloud Drive [self rootDirectoryForICloud:^(NSURL…
amone
  • 3,133
  • 7
  • 29
  • 45
15
votes
6 answers

How to access files in iCloud Drive from within my iOS app?

Is there a way to choose file from iCloud Drive similar way to UIImagePickerController()?
Bartłomiej Semańczyk
  • 52,820
  • 43
  • 206
  • 318
12
votes
4 answers

My app is getting crashed on UIDocumentPickerViewController

I am working on file sharing on my iOS App, I am new to UIDocumentPickerViewController. I do not know why my app is crashing. UIDocumentPickerViewController *documentPicker = [[UIDocumentPickerViewController alloc]…
Anand3777
  • 428
  • 2
  • 5
  • 16
9
votes
1 answer

Open iCloud Drive in iOS app

I want to allow document(pdf, doc, docx) selection in my app. And I want to integrate iCloud for this. All I want to do is to open the iCloud drive from my app and there user can select the file and returns back to the origin app. Something like…
Rohitax Rajguru
  • 823
  • 2
  • 12
  • 29
8
votes
3 answers

iCloud Drive Issue: "[DocumentManager] Failed to associate thumbnails for picked URL"

I've created a JSON string file from an object containing multiple properties. This is the object: RecipeFile : Codable { var name: String var theRecipeIngredients: [String] var theRecipeSteps: [String] var theRecipeRating: Int var…
Diskprotek
  • 481
  • 6
  • 12
8
votes
0 answers

Downloading files in a folder selected by UIDocumentPickerController

I'm trying to download the files contained in a folder hierarchy picked by the UIDocumentPickerController. I use the URL I get from documentPicker:DidPickDocumentsAtURLs: with an NSFileCoordinator. For a folder provided by the iCloud Drive file…
8
votes
0 answers

iCloud Drive REST API?

I'm writing Windows C++ application that gives user ability to save some work results directly to cloud storage like Google Drive, Dropbox and OneDrive. I've been able to create working implementation of code that uses OAuth2 and REST API to…
Adrian
  • 101
  • 6
8
votes
2 answers

Why is my iCloud Drive AppFolder visible on MacOS, but disabled in iCloud Drive App on iOS?

I developed an iCloud Drive Export feature for my iOS App and it works. I can see the exported Documents in our public AppContainerFolder in the iCloud Drive folder on Mac OS X 10.11. But on iOS, I only can see the AppContainerFolder in the iCloud…
Bernd
  • 179
  • 9
7
votes
1 answer

How to save pdf document to iCloud Drive programmatically using swift?

My app creates a pdf file, and I want to save that pdf document to iCloud Drive programmatically using swift 3. For a sample, here I used a Text file to save in iCloud Drive. This is my code: func copyDocumentsToiCloudDrive() { var error:…
anas.p
  • 2,028
  • 15
  • 25
7
votes
0 answers

iCloud drive - is it possible to access user files

I configured my IOS project to work with iCloud drive. Now I'm able to store and read files from my app's ubiquitous container. Is it however possible to access also files from root directory of iCloud? Let's assume the user put some movie file…
Wujo
  • 1,501
  • 2
  • 19
  • 31
7
votes
2 answers

UIDocumentPickerViewController: how to open a given subdirectory

I am using UIDocumentPickerViewController with the import mode (UIDocumentPickerModeImport) in order to let the user import documents from cloud storage providers (dropbox, etc). Each time the user repeat the import process, he must browse through…
6
votes
2 answers

ICloud Drive Desktop Sync vs. Git - deleted files reappear and duplicates with number suffixes

Some words about my setup: MacOs Catalina 10.15.2 Talking about git project folders on my Desktop which is synced with ICloud Drive sync Desktop & Document Folders option enabled I have noticed that the following happens every now and then for…
6
votes
2 answers

Github repo cloned to synced iCloud drive on multiple computers

I have a couple of Macs onto which I clone a fair number of git (mostly GitHub) repos. The Macs each have a number of iCloud drive synced directories (in fact I've gone all-in and am syncing Desktop and Documents). I have tried to clone into the…
Andrew Jaffe
  • 23,727
  • 2
  • 45
  • 55
1
2 3
11 12