Apple added new API to CoreLocation framework. One of the available methods
requestLocation() which allow to get single location update.
This is nice for apps that need just a quick fix to work. You can call the method and in few seconds get user’s location and location manager automatically stops.
To use it you must implement
locationManager:didFailWithError: methods of
Failing method is called when location manager cannot get update or when
permissions are not granted or when location cannot be determined in some
time (managed by the system).
This is nice addition to Core Location. Unfortunately it is available only in iOS 9. Code is cleaner and you can not worry about stopping location updates.