CarPlaySearchController
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.
Note
It is very important you have a singleCarPlaySearchController instance at any given time.
-
The
CarPlaySearchControllerdelegate.Declaration
Swift
public weak var delegate: CarPlaySearchControllerDelegate?
Install in Dash
CarPlaySearchController Class Reference