简体   繁体   English

iOS定位服务警报-两次显示之间的延迟是多少?

[英]iOS Location Services Alert - What is the delay between showing it?

Just a quick question here. 这里只是一个简单的问题。

I am displaying the the alert for the user to allow the app to access location data, and I have this triggered from a switch. 我正在为用户显示警报,以允许该应用访问位置数据,并且已从开关触发了此警报。

When the user turns the switch on, the alert will be displayed. 当用户打开开关时,将显示警报。

If the user clicks disallow, is there a time restriction that Apple has before you can show that alert again? 如果用户单击“不允许”,Apple是否有时间限制,然后您才能再次显示该警报?

Thanks in advance! 提前致谢!

Once the user chooses not to give your app permission to access their location data, the user will not be able to grant your app that permission from within your app. 一旦用户选择不授予您的应用访问其位置数据的权限,该用户将无法从您的应用内向您的应用授予该权限。 Instead, the user must enter the Settings app and grant the permission from there. 而是,用户必须进入“设置”应用并从那里授予权限。 This is to prevent the app from bombarding the user with requests to use location data. 这是为了防止应用向用户轰炸使用位置数据的请求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM