Hello friends ,
In this video we are going to see how we can update location in background mode.
In this we are using Xcode 13, swift 5
******Important notes********
In info plist file need to add keys
Privacy - Location Always and When In Use Usage Description
Privacy - Location When In Use Usage Description
*********** Location Background update ensure by using *******
let manager = CLLocationManager()
manager.allowsBackgroundLocationUpdates = true
manager.pausesLocationUpdatesAutomatically = false
********* capabilities********
Add background modes and in background modes Check location update
Project git link:
https://github.com/sharmavipin11289/L...