tags:

views:

21

answers:

0

Hi here, i want to know if it's possible to implement following behaviors:

take system app "Map" for instance: 1. user turned off location service from system preferences 2. user runs Map app 3. Map app will detect that location service is disabled, it pops an alert. if user clicks on the ok button from the alert view, it will redirect to Location Service settings in system references.

I just want to know how to do step 3 in my app

PS: i know the code to detect if locatio service is enabled or not

many thanks!