If I want a map view to show a specific map region (which is the same each time the app launches?), how would I set that up?
Also, it is possible to prevent the user from scrolling away from this region, and also prevent the user from scrolling too far out?
If I want a map view to show a specific map region (which is
Share
1. Specific region
2. Prevent scrolling
3. Prevent zooming
If you just want to limit the zoom level it is a bit more complicated because zooming effectively changes the region. The best way to manage this is probably by using the
MKMapViewDelegateprotocol methods such asmapView:regionWillChangeAnimated:.Cheers,
Sascha