init(_:)
Returns the region that corresponds to the specified map rectangle.
Declaration
init(_ rect: MKMapRect)Parameters
- rect:
The map rectangle that corresponds to the desired region on a two-dimensional map projection.
Return Value
The region structure specifying the latitude, longitude, and span values for the specified rectangle.