How to jump to system setting's location service on iOS10?

后端 未结 6 1411
-上瘾入骨i
-上瘾入骨i 2021-01-05 09:59

Before I asked this question I had try:

  1. Use [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@\"prefs:root=Privacy&path=LOCATION\"]];<
6条回答
  •  借酒劲吻你
    2021-01-05 10:28

    You can also open your app's setting center by opening"App-Prefs:root=your app bundle id". This will be easy for user to change setting for your app.

提交回复
热议问题