내가 이렇게 내 좌표를 포맷해야합니다어떻게 이런 식으로 좌표를 지정할 수 있습니까?
이N 61° 14.5919'
E 23° 28.1751'
지금 내 좌표는 다음과 같이 :
는61.145919
23.281751
내 코드 :
- (void)locationManager:(CLLocationManager *)manager
didUpdateToLocation:(CLLocation *)newLocation
fromLocation:(CLLocation *)oldLocation
{
latitudeLabel.text = [NSString stringWithFormat:@"%f", newLocation.coordinate.latitude];
longitudeLabel.text = [NSString stringWithFormat:@"%f", newLocation.coordinate.longitude];
}
[이] [1] 포스트가 도움이 될 수 있습니다 다음을 참조하십시오. 즐겨! [1] : http://stackoverflow.com/questions/8851816/convert-decimal-coordinate-into-degrees-minutes-seconds-direction – parilogic