CLLocationManager don't stop

前端 未结 3 1636
面向向阳花
面向向阳花 2021-01-13 01:35

Dear fellow developers,

I am trying hard to find a solution for my problem regarfing CLLocationManager.

I use a CLLocationManager instance in my Application.

3条回答
  •  一生所求
    2021-01-13 02:37

    You do it the right way. When entering background, it's ok if some delegate methods are called for some seconds. That should stop.

    Where do you stop the location updates ? Are you sure it is triggered ? If yes, are your delegate method called even if the visual indicators tell something else ?

    Are you sure you don't trigger a method that reactivate the location update after you have stopped it (because for example you can receive some updates even after stopped).

提交回复
热议问题