Update Location In Background Mode , Swift 5, Xcode 13.0 | Hindi Tutorial

Опубликовано: 19 Январь 2022
на канале: Programming Studio
2,649
33

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...