When I install my application on iphone and run it for the first time, it asks for user permission for the location service. Here is the image for the simulator.
In my application, my first presentation of the application needs the current location and based on location it lists some events. If the application cannot get the location, it displays a list of events by default.
So, I would like to know that it is possible to maintain the application flow until the user clicks the " Don't allow" or " ok" button ? I know if the user clicks the "Do not allow" button, then an error will be triggered kCLErrorDenied.
Currently, if the user does not click on any of the buttons, the application displays a page with a default list (without location). And after that, if the user clicks the " ok" button , nothing happens !!! How to refresh the page when the " ok" button is clicked ?
Thank....

source
share