标签: swift mapkit
答案 0 :(得分:0)
您应该将变量声明为CLLocationDegrees类型:
CLLocationDegrees
var latitudeCurrentLocation: CLLocationDegrees = 0.0 var longitudeCurrentLocation: CLLocationDegrees = 0.0 var speedCurrentLocation: CLLocationDegrees = 0.0