开发者

Get latitude and longitude from CLLocation

开发者 https://www.devze.com 2022-12-23 01:43 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号