I have a question regarding iphone development. i am building an app for iphone which uses gps, i can tackle the gps from my app via alert that whether user wants to use gps or not. as you know when it will try to use gps, iphone’s built in gps will ask as well whether to allow it to use or not. so here is my question that how can i know that user clicked the iphone’s built in pop up
because i am showing “Gps not working” alert on failure. so how can i let alert popup when only gps is not working and not when the user clicks “he does not want to use gps”
implement
delegate method… if
error codeis =kCLErrorNetworkthen it is gps error and iferror code = kCLErrorDeniedthen user has denied… you can put switch case like