我想将经纬度转换为 CLLocationCoordinate2D
。
self.currentLocation = {.latitude = 0.0, .longitude = 0.0};
这给了我错误“Expected expression”。
我做错了什么?
最佳答案
使用 CLLocationCoordinate2DMake(CLLocationDegrees latitude, CLLocationDegrees longitude)
创建坐标。
关于objective-c - 如何将纬度经度转换为 CLLocationCoordinate2D,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6790130/