How to fire update callback methods when app in background?

I notice that mapView(_:didUpdate) and locationManager(_:didUpdateLocations) only fire when the app is in the foreground. Is there a way to make them fire when the app is in the background?


I have already turned on location updates in the background modes capabilities in the target, and I've set allowsBackgroundLocationUpdates of the CLLocationManager to true.