ios - Sharing iCloud documents between apps -
i have 2 apps in app store use icloud. they're using different entitlement identifiers, i'd able access documents first app in second app.
is possible add first app's ubiquity container identifier second app in order access first app's documents, without damaging ubiquity container that's in place second app?
obviously should've had them share identifiers in first place, did not think of when apps first submitted.
from docs, looks indeed possible want. see section configuring common ubiquity container multiple apps in icloud design guide, says in part:
for example, provide free , paid version of app. you’d want users, upgrade, retain access icloud documents. or, perhaps provide 2 apps interoperate , need access each other’s files. in both of these examples, obtain needed access specifying common ubiquity container , requesting access each app.
the section goes on explain how configure 1 of apps' containers common one:
in first row of xcode target editor’s icloud containers list, enter bundle identifier of primary icloud-enabled app.
Comments
Post a Comment