Now that we have to explicitly ask for the user’s permission, we also need to decide what kind of permission do we actually need so that we don’t ask for unnecessary permissions.
As you probably already noticed, the keys and method names, give a pretty clear idea on should be the one or the other used.
Baby devs are going to be even more frustrated by this change.
In i OS 8 you need to do two extra things to get location working: Add a key to your Info.plist and request authorization from the location manager asking it to start.
Otherwise location updates are only delivered in foreground.
In i OS 8, this code doesn’t just fail, it fails silently.
You will get no error or warning, you won’t ever get a location update and you won’t understand why.
Prior to using location services, your app must request authorization from the user to use those services and it must check the availability of the target services.
A typical sequence for using location services is as follows: Important Always request authorization at the point where you actually plan to use location services to perform a task.