CarPlayMapViewControllerDelegate
@available(iOS 12.0, *)
public protocol CarPlayMapViewControllerDelegate : AnyObject, UnimplementedLogging
The CarPlayMapViewControllerDelegate protocol provides methods for reacting to events during free-drive navigation or route previewing in CarPlayMapViewController.
-
carPlayMapViewController(_:didAdd:pointAnnotationManager:)Default implementationTells the receiver that the final destination
PointAnnotationwas added to theCarPlayMapViewController.Default Implementation
UnimplementedLoggingprints a warning to standard output the first time this method is called.Declaration
Swift
func carPlayMapViewController(_ carPlayMapViewController: CarPlayMapViewController, didAdd finalDestinationAnnotation: PointAnnotation, pointAnnotationManager: PointAnnotationManager)Parameters
carPlayMapViewControllerThe
CarPlayMapViewControllerobject.finalDestinationAnnotationThe point annotation that was added to the map view.
pointAnnotationManagerThe object that manages the point annotation in the map view.
Install in Dash
CarPlayMapViewControllerDelegate Protocol Reference