iPhone current user location coordinates showing as (0,0)

后端 未结 8 1028
伪装坚强ぢ
伪装坚强ぢ 2020-12-03 12:28

I\'m trying to get the users current latitude and longitude with this viewDidLoad method. The resulting map is correctly indicating the current location however the NSLog c

8条回答
  •  Happy的楠姐
    2020-12-03 13:04

    This answer explains how to set a map view with a user location:

    HowTo initialise MKMapView with a given user location?

提交回复
热议问题