MapKit iOS16 / Performance with many MKOverlays

Hi,

since iOS16, my app has a huge performance problem. Generating the map overlay now takes about a minute on an iPhone 12 Pro (before iOS16 about 3s). In my app I have hundreds of different MKPolygons which are colored different. For each Polygon an individual MKOverlay is generated. I actually know, that this might be the problem (hundreds of overlays), but I don't know how to merge all the polygons with one color in one single mkoverlay.

Does anyone has a hint how to do this or an other idea how to solve this issue?

Be sure to report it to Apple.

OK, found our, that MKMultipPolygon should be the right way. I have to restructure my app a bit to check out, if this increases the performance.

I'm also having this issues, and all started on iOS 16.

I'm also having this issue. I improved the way I render and decreased the number of polygons that I'm drawing, but the problem is still happening, not so often but still happening.

MapKit iOS16 / Performance with many MKOverlays
 
 
Q