views:

112

answers:

2

I am developing an iphone application in objective c. I have to get the list of the states of USA programatically. How can I get that list?

+2  A: 

You could download it from wikipedia or some other source. I don't think there's anything built-in into the iPhone SDK.

Georg
+9  A: 

I would hard-code the list in the source code. It's likely not to change during the lifetime of the application.

Martin v. Löwis