Pat
Pat

Reputation: 172

About iOS popup asking user to continue allowing the app to use location in the background

I want to ask and to get better understand about the popup that iOS will occasionally ask the user like :

"Weather" has been using your location in the background. Do you want to continue allowing this ?

How often dose this occur and how do they determine when to ask ? And is it possible to prevent this to show to the user ?

I can't find any documentation, the only explanation i can find is from the presentation from WWDC 2014 video "What's New in Core Location".

Thank, Pat.

Upvotes: 1

Views: 878

Answers (1)

Tyler Pierog
Tyler Pierog

Reputation: 537

The user has to agree to letting the app use their location. Generally speaking the dev will only ask to use the users location when needed ie if they are searching for something on a map to compare to where they are currently. Once the user has agreed to let the app use its location it isn't asked again. From then on you check for updates in the users position.

Upvotes: 2

Related Questions