こんにちはスタック-エキスパート!
私の質問:CLLocationDegrees値から文字列を生成する方法は?
失敗した試行:
1. NSLog(@"Value: %f", currentLocation.coordinate.latitude); //Tried with all NSLog specifiers.
2. NSNumber *tmp = [[NSNumber alloc] initWithDouble:currentLocation.coordinate.latitude];
3. NSString *tmp = [[NSString alloc] initWithFormat:@"%@", currentLocation.coordinate.latitude];
CLLocationDegreesの定義を見ると、これはdoubleであることが明確に示されています。
typedef double CLLocationDegrees;
ここで何が欠けていますか?これは私を夢中にさせています...私の心を救うのを手伝ってください!
よろしくお願いします。// Abeansits