-4

Possible Duplicate:
How to retrieve user's current city name?

i am working on gps based application ,i want to fetch current location in iphone,how i can fetch it.like delhi ,chandigrah.

Community
  • 1
  • 1
ravinder521986
  • 722
  • 9
  • 17

3 Answers3

1

Get the current geo position with CLLocationManager and fetch the location with MKReverseGeocoder or Google API

Retterdesdialogs
  • 3,180
  • 1
  • 21
  • 42
0

Use CoreLocation Framework. With CLLocation Manager you can get your current location details .

Prabha
  • 424
  • 1
  • 4
  • 11
-1

If you're writing a native application in Objective-C, there are plenty of resources out there that answer your question. I'd recommend you start with Apples own documentation, then come back with a more detailed question if you have specific problems:

Introduction: http://developer.apple.com/library/ios/#DOCUMENTATION/UserExperience/Conceptual/LocationAwarenessPG/Introduction/Introduction.html

How to: http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/LocationAwarenessPG/CoreLocation/CoreLocation.html

Andreas
  • 1
  • 2