mardi 4 août 2015

Open iCloud drive programatically

I'm using CloudKit in my app and I want to send the user to iCloud settings in case he/she hasn't enabled or set it up. I am currently using the following code:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];

But it opens the following:

enter image description here

So the user would have to go back and look for iCloud to set it up, how can I redirect the user directly to iCloud settings?

Thanks in advance!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire