Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何将 lat long 转换为 CLLocationCoordinate2D ?
您可以像这样使用 lat/long 初始化您的 CLLocation
- (id)initWithLatitude:(CLLocationDegrees)latitude longitude:(CLLocationDegrees)longitude;
然后,您可以使用坐标属性来获取 CLLocationCoordinate2D 值。