在我的 iOS 项目中,我使用的是 skobbler 的 SKMapView,我需要在 mapview 上使用注释来显示用户的当前位置。我尝试了以下代码来做同样的事情:
mapView.settings.followUserPosition = true
mapView.settings.showCurrentPosition = true
而且我在应用程序中具有位置访问权限(WhenInUse Location access)。但是没有显示注释。任何帮助表示赞赏。
在我的 iOS 项目中,我使用的是 skobbler 的 SKMapView,我需要在 mapview 上使用注释来显示用户的当前位置。我尝试了以下代码来做同样的事情:
mapView.settings.followUserPosition = true
mapView.settings.showCurrentPosition = true
而且我在应用程序中具有位置访问权限(WhenInUse Location access)。但是没有显示注释。任何帮助表示赞赏。