<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.2.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKMapView/regionThatFits(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MKMapView(im)regionThatFits:"
  },
  "title" : "regionThatFits(_:)"
}
-->

# regionThatFits(_:)

Adjusts the aspect ratio of the specified region to ensure that it fits in the map view’s frame.

```
func regionThatFits(_ region: MKCoordinateRegion) -> MKCoordinateRegion
```

## Parameters

`region`

The initial region whose span you want to adjust.

## Return Value

A region that is still centered on the same point of the map but whose span values are adjusted to fit in the map view’s frame.

## Discussion

You can use this method to normalize the region values before displaying them in the map. This method returns a new region that both contains the specified region and fits neatly inside the map view’s frame.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)