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

187 questions
4
votes
1 answer

iOS 14: NSFilePresenter not getting callbacks/notifications; works on iOS13

I have an UIViewController that adopts the NSFilePresenter protocol. I have implemented presentedItemDidChange() in order to receive changes of files stored in an ubiquitous container on iCloud. My implementation is working OK on iOS13.7, but fails…
Chris
  • 1,231
  • 2
  • 10
  • 20
4
votes
0 answers

Save image in iCloud drive from app directly

I want to upload an image to iCloud drive from my ios app. Upto now I have upload the images by saving them locally in iCloud drive in the device and syncing it to the iCloud. here is the code i have tried. if…
Amila
  • 244
  • 1
  • 12
4
votes
1 answer

File types association with my app

My app is capable exporting and importing txt files. CFBundleDocumentTypes and UTExportedTypeDeclarations in my .plist are as follows: CFBundleDocumentTypes CFBundleTypeIconFiles
grep
  • 566
  • 5
  • 20
4
votes
1 answer

iOS ubiquitous file not uploaded to iCloud (simulator)

I'm trying to save arbitrary files from my application's sandbox to iCloud Drive, on the iOS 10.3 simulator. iCloud Drive is enabled and I'm signed in. If I open the iCloud Drive app on the simulator, I see files in there. So, in my app: I obtain…
TheNextman
  • 12,428
  • 2
  • 36
  • 75
4
votes
4 answers

Latexing within iCloud Drive

This is a question relative to these two posts (this one and this one) found on Apple discussion. I am using Sublime Text 3 to write and compile my latex documents. It works like a charm when I'm working on a local tex file, but it doesn't work…
Leonard
  • 2,510
  • 18
  • 37
4
votes
0 answers

export to iCloud drive via UIActivityViewController

In iMovie for iOS, I can export a movie via UIActivityViewController to the iCloud drive (shown below). How can I implement this in my own app? Do I need to create a custom UIActivity? Currently "iCloud Drive" doesn't show up as one of the action…
Taylor
  • 5,871
  • 2
  • 30
  • 64
4
votes
1 answer

Accessing iCloud Drive files from app

I want to have iCloud support in my app where I can store and get PDF files. My question is "How to access iCloud drive file without using UIDocumentPickerViewController". Actually I want to have custom files list in my app. I tried this code -…
Altaf Rehman
  • 137
  • 9
4
votes
1 answer

How to expose and retrieve files in iCloud Drive on iOS8 provided by OS X application

I can store files into iCloud Drive programmatically from an OS X app (10.10) and from an iOS app (8.4) using a common ubiquity identifier (ex: iCloud.com.mycompany.CommonFiles), with the same Apple ID. In the OS X application, I can identify or…
JBJr
  • 109
  • 2
  • 7
4
votes
1 answer

Do I have to download all iCloud files to be able to generate their thumbnails?

I am enumerating iCloud drive elements NSMetadataItem and storing them on an array. The files are there: confirmed by looking at the iCloud folder on OS X and also on the device using UIDocumentPicker. Later on the code I try to retrieve the…
Duck
  • 34,902
  • 47
  • 248
  • 470
4
votes
0 answers

iCloud Drive list directories and files through NSMetadataQuery

I have built an iCloud-enabled app named "rmc".My app now can upload files to iCloud Drive and get metadata by NSMetadataQuery.But NSMetadataQuery's results only include the files in my APP's Container.Please see this…
Tim
  • 51
  • 6
4
votes
1 answer

iOS download file from iCloud Drive

In my app for iOS I store some file to the iCloud Drive folder for backup. Now I want to retrieve that file but i dont know which is the proper way for doing this. I mean if there is any specific method for iCloud Drive or i can just get it from the…
user3065901
  • 4,678
  • 11
  • 30
  • 52
4
votes
0 answers

UIDocumentPickerViewController vs iCloud Drive app container?

The app's container is public, so it is visible in iCloud Drive. The app displays files in its public iCloud container. The app can I also present the UIDocumentPickerViewController with UIDocumentPickerModeImport mode so users can import files…
Karmeye
  • 1,399
  • 1
  • 8
  • 16
3
votes
0 answers

Copy files within iCloud drive without downloading them

Using FileManager.moveItem I can move a file in iCloud to another location in iCloud without downloading it locally. I would like to perform the same thing but with FileManager.copyItem, in the sense that I would like to make copies of files within…
Gibezynu Nu
  • 354
  • 6
  • 15
3
votes
1 answer

How to make app iCloud folder show up on other devices

I am trying to add iCloud drive capabilities to my existing iPhone app, basically just to be able to store files in iCloud drive, such that the user has access to them on all his devices. I have followed the steps to enable iCloud drive…
fishinear
  • 6,101
  • 3
  • 36
  • 84
3
votes
0 answers

Save images of cloudKit to icloud with folder structure

In my application I can upload image and store it in cloudkit also fetch that images and show in my app as well. My requirement is save cloudkit image in iCloud with proper folder structure. cloudkit is enable using developer account but images I…
NavinBagul
  • 741
  • 7
  • 24
1 2
3
12 13