最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

ios - Possible to force a system dialog requesting user permission to access contacts if current status in CNStore is determined

programmeradmin2浏览0评论

The first time an IOS app asks for permission to access contacts, the system opens a dialog with the options "Don't Allow" or "Continue".

If the user clicks if the user taps "Don't Allow", status becomes .denied or if the user taps "Continue", the following screen presents two options access or limited access. And there are still more options such as maybe later.

Once the user makes a selection, they do not immediately get a second chance. And if you call CNContactStore.requestAccess, as far as I can tell no dialog is triggered unless the current status is .notdetermined.

At a later point, if contacts are needed, many apps seem to suggest or provide an url for users to change their selection in Settings.

My question is, is there way in code to trigger a System Dialog to ask the user for permission at a later time if they originally selected Denied or Limited, or is the only option to Suggest they leave the app and go to Settings.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论