Platforms to show: All Mac Windows Linux Cross-Platform

Back to MKAnnotationViewMBS class.

MKAnnotationViewMBS.prepareForDisplay

Type Topic Plugin Version macOS Windows Linux iOS Targets
event MapKit MBS MacFrameworks Plugin 20.4 ✅ Yes ❌ No ❌ No ❌ No
Notifies the annotation view that it is about to be displayed on the map.

Use this event to prepare the content of your annotation view.

MKAnnotationViewMBS.prepareForReuse

Type Topic Plugin Version macOS Windows Linux iOS Targets
event MapKit MBS MacFrameworks Plugin 20.4 ✅ Yes ❌ No ❌ No ❌ No
Called when the view is removed from the reuse queue.

You can implement this event in your custom annotation views and use it to put the view in a known state before it is returned to your map view delegate.

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...