Contents

CPPointOfInterestTemplateDelegate

The methods to handle a Point of Interest template’s events.

Declaration

@MainActor protocol CPPointOfInterestTemplateDelegate : NSObjectProtocol

Overview

You use the CPPointOfInterestTemplateDelegate protocol to respond to a Point of Interest template’s events. The protocol defines methods that CarPlay calls in response to these events, and your implementation provides the appropriate behavior for when the events occur. For example, when the user pans the template’s map and the visible region changes, update the points of interest that the template displays to only those relevant to the new region.

Topics

Responding to Map Region Changes

Responding to Point of Interest Selection

See Also

Handling Template Events