views:

49

answers:

1

Hi friends... I am using http://www.mobileorchard.com/hello-there-a-corelocation-tutorial/ for getting the location using Iphone.(It gives Latitude & Longitude) Now i want the cities/zipcode based on these Latitude & Longitude in Iphone. So please suggest me for the above. Sample code/tutorial will be much better(if possible)...as I am very new to this Iphone development.

Thanks.

+1  A: 

You can use the builtin MKReverseGeocoder class in UIKit. You will however have to adhere to Googles license terms, e.g. that you have to show the results on a Google map, etc.

Alternatively you can use the various services available from GeoNames, for your need especially the postal code lookup could be of interrest. They are provided both as xml and json formats. They have a lot less restrictive licens term than Google.

Claus Broch
Tried MKReverseGeocoder?
Claus Broch