My app uses the location as well as the contacts. They are the bread and butter of my app. If the user does not allow both or any one of the accesses, the app will malfunction. I recently came to know that the dialog popup which pops up when the app tries to get the location o
r contact information cant be avoided.
iOS- How to avoid the dialog "Would like to use your current location"
Hence I am thinking of restructuring the app where during the setup stage, I wish to ask for these access.
If the user selects "Don't Allow", I wish to either terminate the app or post info to the user stating that to proceed with the next step you need to enable the app to get these info.
Is there a code to read the button press "Dont Allow" or "ÖK". Also, how to launch this dialog on a first place. Could anyone please let me know. Thanks