In my iOS app, a mapkit object displays the user's current location and zooms in on it.
I would like to put that code into an if statement so that it will only happen when the user is within a specified geographic region (a specific country,开发者_开发技巧 city etc).
Any help will be hugely appreciated.
Thanks, Roy
Some Resources I found useful.
CLLocationManager Class Reference
CLRegion Class Reference
Core Location region monitoring
精彩评论