What UIApplicationDelegate methods are called when my application receives a significant change in location?

I installed an application to listen for significant location changes using startMonitoringSignificantLocationChanges CLLocationManager.

Therefore, when the location of the device changes significantly, my application needs some runtime to process this change. But what methods do they UIApplicationDelegatecall? applicationDidEnterBackground? applicationWillEnterForeground?

It is painful for me to test such things, since I don’t have a MacBook, and it’s not possible to simulate these location changes.

+3
source share
1 answer

startMonitoringSignificantLocationChanges

, . locationManager: didUpdateToLocation: fromLocation: method. , , ( ), . , .

delagate, CLLocationManagerDelegate, .

+3

Source: https://habr.com/ru/post/1772906/


All Articles