Post

Replies

Boosts

Views

Activity

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?
0
1
595
Jun ’23
MapPolyline and MapPolygon not visible on simulator
My app uses SwiftUI Map and draws Markers, MapPolyline and MapPolygons over it. These all work on actual devices. On the iOS 26.0.1 Simulator running on macOS 26.0.1 Polylines and Polygons do now show. Do others see the same thing?
Replies
3
Boosts
0
Views
277
Activity
Dec ’25
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?
Replies
0
Boosts
1
Views
595
Activity
Jun ’23