5
值轉換我曾嘗試下面的代碼: 但它顯示錯誤不能float類型的值轉換爲預期的參數類型CLLocation度(又名雙人間)如何緯度和經度漂浮在迅速
let lat = self.mallData.valueForKey("lat") as! Float
let lon = self.mallData.valueForKey("lon")
let mapLocation : CLLocationCoordinate2D = CLLocationCoordinate2DMake(lat, lon)
緯度和經度是字符串? –