Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

RashiMahajan

macrumors newbie
Original poster
Apr 17, 2009
22
0
Hi,
1.I am using CLocation manager to get my location bt its returning me 37.331689 & -122.030731 values as Latitude & longitude, i think these are some US location values. How i can get mine actual location values :(
I have never used CClocation manager before in y any app.
2. My second confusion is this, after getting current location,if i will launch teh google map , i will be out from my native application, can i launch teh mapkit with those values & then getting some location form the user, can i go back to my native application

I know these are very basic question bt i hv never worked on the mapkit & clllocation manager.
Thanks in advance for ur buddies help :)
 
1.I am using CLocation manager to get my location bt its returning me 37.331689 & -122.030731 values as Latitude & longitude, i think these are some US location values. How i can get mine actual location values :(
Are you trying this in the simulator? I believe it returns the lat/long of Apple's HQ in Cupertino then.
 
Yes m trying this on simulator......
Will it return me exact accurate values on device?
If yes, will it allow me to open the map kit with those values & then selecting anyother poition on map , it will allow me to go back to my application,
please let me know coz i have nt worked on mapkit & location manager in iphone
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.