Adding / removing MKCircle changeable / slow trying to simulate resizing

Thus, the radius MKCircle property is read-only, which requires that any resizing be done by removing the original MKCircle from the map view and adding a new one.

To make things smoother, I add a new circle to the map view before deleting the old one.

The scaling process is quite simple in the iOS simulator, but testing on a real device leads to intermittent animation and some temporary β€œblocking” MKCircle color artifacts when resizing.

What can I do to make it smoother?

+4
source share

Source: https://habr.com/ru/post/1441416/


All Articles