0

ユーザーの現在地を取得するために Google リバース ジオコーディングを使用しています。私のコードは次のようになります:

    NSString* StrCurrentLongitude=[NSString stringWithFormat: @"%f", currentLocation.coordinate.longitude]; // string value

    NSString* StrCurrentLatitude=[NSString stringWithFormat: @"%f", currentLocation.coordinate.latitude];

    [NSURL URLWithString:[NSString stringWithFormat:@"http://maps.googleapis.com/maps/api/geocode/json?latlng=%@,%@&sensor=true_or_false",StrCurrentLatitude,StrCurrentLongitude]];

ここからユーザーの現在の場所を取得するにはどうすればよいですか?

4

1 に答える 1