MapKit giving wrong lat & lang - iOS 8

前端 未结 4 1465
星月不相逢
星月不相逢 2021-01-25 22:15

When I try to use map in iOS 8, I get below error.

Trying to start MapKit location updates without prompting for location authorization. Must call -[CLLocationMa         


        
4条回答
  •  心在旅途
    2021-01-25 22:54

    The requestWhenInUseAuthorization runs asynchronously, so you should not be calling startUpdatingLocation until you get a change in authorization status in your delegate.

提交回复
热议问题