Crash after changing preferredConfiguration a few times while zoomed in

My app has buttons to set

mapView.preferredConfiguration = MKStandardMapConfiguration() // and then mapView.preferredConfiguration =   MKImageryMapConfiguration()

This works fine unless I zoom in with:

self.mapView.region = MKCoordinateRegion(MKMapRect(origin: MKMapPoint(self.coordinate), size: MKMapSize(width: 1000.0, height: 1000.0)))

Then I switch between configurations and quickly crash.

iOS 16.4. Happens in the simulator or on device.

Anyone else seen this?

Crash after changing preferredConfiguration a few times while zoomed in
 
 
Q