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

后端 未结 6 1493
-上瘾入骨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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-05 10:08

    This works for me. iOS7 ~ iOS11

    But if you are uing the iOS11, you can only jump to the app's setting page

提交回复
热议问题