Contents

setCameraBoundary(_:animated:)

Sets the camera boundary for the map view, specifying whether to use animation.

Declaration

func setCameraBoundary(_ cameraBoundary: MKMapView.CameraBoundary?, animated: Bool)

Parameters

  • cameraBoundary:

    The new Cameraboundary Swift.class.

  • animated:

    A Boolean value that indicates whether the framework animates the transition of the map view to the new boundary.

See Also

Constraining the map view