camera(framing:)
Creates a camera in the context of the map that frames the given coordinate region.
Declaration
func camera(framing region: MKCoordinateRegion) -> MapCameraParameters
- region:
The coordinate region to frame.
Return Value
Returns a MapCamera with the framing region you specified.