delegate
The app-specific object that the system notifies when it hides and shows the panel.
Declaration
weak var delegate: (any CPMapPanel.Delegate)? { get set }Discussion
Specify a custom object that adopts the CPMapPanel.Delegate protocol if you want to know when the map panel appears or disappears from your CarPlay interface. The system maintains a weak reference to the object you provide, so keep a reference to the object in your own code.