public class CarPlaySearchController : NSObject
extension CarPlaySearchController: CPSearchTemplateDelegate
extension CarPlaySearchController: CPListTemplateDelegate

CarPlaySearchController is the main object responsible for managing the search feature on CarPlay.

Messages declared in the CPApplicationDelegate protocol should be sent to this object in the containing application’s application delegate. Implement CarPlaySearchControllerDelegate in the containing application and assign an instance to the delegate property of your CarPlaySearchController instance.


It is very important you have a single CarPlaySearchController instance at any given time.