iphone - Can I give my app entitlements to all data in a user's iCloud? -


For example, is it possible that the container key in the entitlement dictionary will accept the key "*" or "/" To access any and all data in the user's iCloud?

I do not care about this app accepted in the App Store.

no.

And, even if you can, there will be no way to figure out that data. - [NSFileManager URLForUbiquityContainerIdentifier:] and friends need to know the containers that you want to access. (You can pass zero, but it comes back to the container first, which does not contain some parents of all the containers.)

And it is deliberately the public API does not mean that your Do not interfere with the app's storage of other apps (except for a related team sharing apps), for good reasons, you need Mac App Programming Guide (which does not require subscription to pay for access You may want to read in

So, how does iCloud preference pane? Okay, this is a secret, possibly using either the private API, or directly talk to iCloud Web Services in a way that APIs can not do. You can probably reverse-engineer it, but this is the only way you can do this.

Comments