How to prompt for CKApplicationPermissionUserDiscoverability again

守給你的承諾、 提交于 2019-12-06 02:06:05

On the iCloud settings of the iOS 8.1, under the iCloud Drive, there is an option called "Look Me Up By Email". There you will be able to reset the permission.

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.

You can't reactivate the system prompt. What you can do is test for the permissions and if it's not ok supply your own prompt asking the user to go to the settings to change the permissions.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!