Adjusts the aspect ratio of the specified map rectangle, incorporating the specified inset values.
- iOS 4.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.2+
The initial map rectangle whose width and height you want to adjust.
The distance (measured in screen points) by which to inset the returned rectangle from the actual boundaries of the map view’s frame.
A map rectangle that is still centered on the same point of the map but whose width and height are adjusted to fit in the map view’s frame minus the inset values.