Questions tagged [icloud-documents]

43 questions
1
vote
0 answers

How to retrieve the list of documents from iCloud without using UIDocumentPickerViewController?

I open picker with documents from iCloud with the following code: let picker = UIDocumentPickerViewController(documentTypes: ["public.content"], in: .import) picker.modalPresentationStyle = .formSheet picker.delegate = self self.present(picker,…
Marina
  • 1,177
  • 4
  • 14
  • 27
0
votes
0 answers

iCloud container name is not displayed proper in development App

In the application iCloud integration but in the container, it displays the name of the bundle that owns the container. Configuration iCloud capability from developer account Enable iCloud capability from Xcode Added keys and value into…
S K
  • 81
  • 1
  • 8
0
votes
0 answers

Cannot save files to iCloud drive and have it appear in File app

Followed the exact steps from here My code func save() { do { if let containerUrl = FileManager.default.url(forUbiquityContainerIdentifier: nil)?.appendingPathComponent("Documents") { if…
erotsppa
  • 14,248
  • 33
  • 123
  • 181
0
votes
1 answer

Can't see my app inside the iCloud Drive folder

Okay, so I have been searching all over and couldn't find a working solution, I'm using iCloud Documents to sync between device's app documents and I just can't get the app to appear in the iCloud Drive in files app, I can see all the files between…
0
votes
0 answers

How to download and being notified, a list of files in iCloud Document, in a scalable way?

I wish to download, and being notified, on files at iCloud Document. The list of filenames are known up-front as we store the filenames in a iCloudKit (Not iCloud Document) The list of filenames will be updated in the middle of runtime. Then, once…
Cheok Yan Cheng
  • 47,586
  • 132
  • 466
  • 875
0
votes
1 answer

Hide iCloud Documents

I have successfully saved and loaded documents to and from the user's iCloud Drive using iCloud documents, but the document is visible in the user's iCloud Drive, like this: I do not want this, as this is saved data from my app. Is there any way…
JustMakeStuff
  • 419
  • 3
  • 19
0
votes
0 answers

SwiftUI and iCloud Documents

I am trying to use iCloud with SwiftUI. I just want to be able to read/write json files stored there. I believe I have taken all the proper steps to get there, including the necessary changes to Signings & Capabilities and the addition of settings…
M. Thomas
  • 1
  • 2
0
votes
0 answers

SwiftUI: ICloud Documents alongside CloudKit

I'm working on an app that uses both ICloud Documents and the new CloudKit. Both services are active on ICloud section under "Signing & Capabilities". Because CloudKit is used in the whole app, I'll instantiate in the appDelegate like this lazy…
Valerio
  • 3,297
  • 3
  • 27
  • 44
0
votes
2 answers

user.uid.501.BRNotificationServerAvailabilityChanges error in Objective-c

I am executing this code to get files/document from iCloud NSMetadataQuery *metadataQuery = [[NSMetadataQuery alloc] init]; [metadataQuery setSearchScopes: [NSArray arrayWithObject: …
Chirag Lukhi
  • 1,528
  • 17
  • 41
0
votes
1 answer

Which folder is the files downloaded from method startDownloadingUbiquitousItem?

What folder are the files downloaded from the method? I can't find where the files downloaded from this method are. According to the documentation it downloads only when necessary, but I can't find where the icloud files are…
0
votes
1 answer

iCloud UIDocument opening fails after update on iOS 13

I have a simple UIDocument subclass with overriding load and contents functions. Before updating on iOS 13 json document was saved in url "/private/var/mobile/Library/Mobile…
Evgeny Karev
  • 605
  • 6
  • 13
0
votes
0 answers

App can create own iCloud Drive Folder, save there but isn't listed in apps for opening files there?

I've created a new file type unique to my App. A user can now save, for the purpose of sharing, backup etc., files of this type to the App's own folder on iCloud Drive. This feature is now live on the app store and works with one, odd, exception. If…
Seoras
  • 1,286
  • 13
  • 21
-1
votes
1 answer

Images would not be synchronized

The user can add a image, which name would be stored in the database under "imagename". the database would be synchronized in a second on iPhone and example iPad of the user. A image get a new Name and be saved. Here is the function for…
user2632918
1 2
3