What causes (and how can I fix) this odd Core Location error?

后端 未结 7 1577
太阳男子
太阳男子 2021-02-05 12:42

ERROR,Generic,Time,320195751.128,Function,\"void CLClientHandleRegistrationTimerExpiry(__CFRunLoopTimer*, void*)\",Registration timer expired, but client is

7条回答
  •  感情败类
    2021-02-05 13:14

    Going off of what @schillace had to share, is it possible that you're attempting to force location updates without heeding the user's authorization status?

    Try to hold off on calling -startUpdatingLocation until you know that [CLLocationManager authorizationStatus] == kCLAuthorizationStatusAuthorized.

提交回复
热议问题