Hello Stacked-Experts!
My question: How to generate a string from a CLLocationDegrees value?
Failed attempts:
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];
When I look in the definition for the CLLocationDegrees it clearly states that this is a double:
typedef double CLLocationDegrees;
What am I missing here? This is making me go crazy... Please help to save my mind!
Thanks in advance and best regards. //Abeansits