Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sharing iCloud data between two apps

I'm wanted find more information regarding this.

I intend to make an app right now with iCloud core data store. And i wish to share that with another app (different bundle Identifier) is it possible? Obviously, i shall include the iCloud capabilities in another app as well ,but with the AppIDs and all, it seems questionable.

Another question if I may, I am planning to use iCloud sync for CoreData and a plist File. From what I know, usually apps take one of the approach, but I needed to sync core data as it is intended, and use a small plist file, which isn't a settings file. Is this a bad way ? or should i just use one of the two?

like image 695
user134611 Avatar asked Jan 16 '12 16:01

user134611


People also ask

How do I share files between two iCloud accounts?

Share folders or documentsIn the Finder , select iCloud Drive, select a folder or document, click the Share button , then choose Share Folder or Share File. Tip: If the item is on the desktop, Control-click it, choose Share from the shortcut menu, then choose Share Folder or Share File.

Can you sync apps to iCloud?

On each device, go to Settings > iCloud > toggle on the app categories and content you want to sync to iCloud.

Can 2 Apple IDS share the same iCloud?

Family Sharing lets you and up to five other family members share access to amazing Apple services like Apple Music, Apple TV+, Apple News+, Apple Arcade, and Apple Card. Your group can also share iTunes, Apple Books, and App Store purchases, an iCloud storage plan, and a family photo album.


1 Answers

  1. The identifier used for iCloud storage is different from the bundle identifer used for the app, so, yes, it's entirely possible
  2. Yes. You can sync Core Data, "documents" and key-values pairs using iCloud in the same app

All else being equal, I think you'd be better putting your plist into your Core Data model (less code).

like image 198
Stephen Darlington Avatar answered Nov 02 '22 23:11

Stephen Darlington