Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Mapviewは、特定のピンに対してズームインモードで起動する必要があります。どうすればそれをプログラムで行うことができますか。そのためのデリゲートメソッドがあります。
MKMapView * mvMap; MKCoordinateRegion region; region.center.longitude = 0; region.center.latitude = 0; region.span.latitudeDelta = 5; // this is zoom level region.span.longitudeDelta = 5; [mvMap setRegion:region animated:NO]; [mvMap regionThatFits:region];