Returning a users lat lng as a string iPhone

Posted by Joshmattvander on Stack Overflow See other posts from Stack Overflow or by Joshmattvander
Published on 2010-05-03T01:34:49Z Indexed on 2010/05/03 1:38 UTC
Read the original article Hit count: 216

Filed under:
|

Is there a way to return the users location as a string from a model?

I have a model thats job is to download same JSON data from a web service. When sending in my request I need to add ?lat=LAT_HERE&lng=LNG_HERE to the end of the string.

I have seen tons of examples using the map or constantly updating a label. But I cant find out how to explicitly return the lat and lng values.

Im only 2 days into iPhone dev so go easy on me :)

© Stack Overflow or respective owner

Related posts about iphone

Related posts about core-location