【发布时间】:2019-06-03 03:54:06
【问题描述】:
请有人帮助我。如何从我的应用程序中打开定位服务?我试过了,但它不起作用
URL(string: "prefs:root=LOCATION_SERVICES")
【问题讨论】:
-
尝试查找此帖子的答案:How to open Location services screen from setting screen? 您可能正在尝试实施第二高评分的答案,但您忘记设置 URL 方案。但请注意,使用它可能会导致您的应用被拒绝。
-
将“可能导致拒绝”解读为“您几乎肯定会被拒绝”。
标签: ios swift xcode cllocationmanager cllocation