Contents

view(for:)

Returns the view associated with the overlay object, if any.

Declaration

func view(for overlay: any MKOverlay) -> MKOverlayView

Parameters

  • overlay:

    The overlay object whose view you want.

Return Value

The view associated with the overlay object or nil if the overlay is not onscreen.

See Also

Methods