/Background-Location-Update

Sample code to get current location update in background

Primary LanguageSwift

Background-Location-Update

Sample code to get current location update in background

Open "CurrentLocation.xcodeproj" file with Xcode IDE. Run the app, you can see the latitude and longitude is getting updated as you change location. Send the app in the background and you can check Xcode log(console) output that shows the location still updates while you change the device location.

To check the source code without Xcode, please open “CurrentLocation” folder then open “ViewController.swift” file.