How to control when to present the Bluetooth permission request prompt in iOS13?

允我心安 提交于 2019-12-01 05:36:10

问题


With the new policies related to privacy & Bluetooth in iOS13, my app launches an alert prompt on app install, or after app update (in iOS13) requesting access to Bluetooth.

Is there anyway to control the presentation of this prompt?

I'm making sure that the app doesn't access or initializes anything related to the CBCentralManager, on app start, but in a very specific place in the app, but still I get the prompt on app start.

Is the presentation of this prompt related to the CBCentralManager usage? What are the requirements for this prompt to be shown?

来源:https://stackoverflow.com/questions/57851959/how-to-control-when-to-present-the-bluetooth-permission-request-prompt-in-ios13

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