views:

182

answers:

1

Hello 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 of userLocation?

please help me i have no idea

+1  A: 

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:@""]

MobiHunterz