开发者

how to find the city name with respect to the zip code in iphone [duplicate]

开发者 https://www.devze.com 2023-03-09 21:38 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: How to find city name with respect to the zi开发者_Python百科p code through iphone applications
This question already has answers here: Closed 11 years ago.

Possible Duplicate:

How to find city name with respect to the zi开发者_Python百科p code through iphone applications

I have a database that has few location details like zipcode, address, cityname, latitude and longitude. In the application i'm placing the pin in the map with respect latitude and longitude from the database with respect to zipcode which i enter. Is it possible to find the city name when i enter the zipcode which is not in the database.

Thanks in advance


Well obviously you need a database/web service. There is unfortunately no way of finding a city name given the zip code, if it is not stored somewhere. You can download such a database and read the file using objective-c. Or store it in some database and access it using objective-c.

Here are two links that you might be interested

http://www.boutell.com/zipcodes/

http://databases.about.com/od/access/a/zipcodedatabase.htm

0

精彩评论

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