Get latitude and longitude from CLLocation
I have an CLLocation which is my userLocation, now in another class I have to open the maps app and make a route from the userLocation to another point. But how can I get in the another class the Coordinates开发者_C百科 of userLocation?
If you wanna need to pass the CLLocation co-ordinates to another class then u can take help of NSUserDefaults
i.e. [[NSUserDefaults standardDefaults] setObject: forKey:@""]
精彩评论