How can I turn Location Services back on from the actual app when someone declined the first time. I have an option to turn it off or on.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can only prompt them to the screen to turn on location services like so:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"prefs:root=LOCATION_SERVICES"]];