Is there a way to get iOS to prompt for CKApplicationPermissionUserDiscoverability again after the user has declined it? The most I've been able to do is remove permission in the iCloud settings pane in OS X, which just returns a deny to the iOS app without any user interaction. The app I'm writing is useless without discoverability, so I want to be able to prompt again if the user initially says no.
3
votes
3 Answers
3
votes
1
votes
In iCloud dashboard, under deployment, reset the development environment, and the next time you install the app, it will prompt again for the permission.
Warning: resetting the development environment will delete all existing records AND it will reset the record definitions to what is deployed to the production environment. So if you haven't deployed to production environment yet you can loose all your record types and custom fields in Users. I recommend deploying to production even if it's not final, then resetting.