I just rebuilt my app with the iOS 11 SDK in an attempt to remove the blue banner
that is now always appearing. I thought - \"Brilliant, that worked\", only to
Swift : 3 i have faced the same issue. i was totally screwed up finding the solution. here is how i fixed the issue.
step-1 : Project file > Capabilities > background modes > select Location Update
step-2 : Add NSLocationWhenInUseUsageDescription , NSLocationAlwaysAndWhenInUseUsageDescription keys to Info.plist
step-3 :
manager.pausesLocationUpdatesAutomatically = false
manager.allowsBackgroundLocationUpdates = true