views:

60

answers:

2

I am making an iPhone app that is designed for things that will be local to only Missouri. So my idea is to limit the map to only Missouri/regions close to Missouri. I have the map working fine, displaying the user's location, and if they update location then the pin will also move. Can I use something like a Custom Annotation to do this? Or can I check the users location and decide if its withing a certain lat, long and display the map based on that?

I am working in xCode while making this project.

A: 

Take a look at the MKMapViewDelegate protocol. There are methods there that will inform you when the user's location has changed and when the map has been moved. You can then do what is appropriate depending on where the user is.

lyonanderson