handler
An optional closure that CarPlay invokes when the user selects the list item.
Declaration
var handler: ((any CPSelectableListItem, @escaping () -> Void) -> Void)? { get set }An optional closure that CarPlay invokes when the user selects the list item.
var handler: ((any CPSelectableListItem, @escaping () -> Void) -> Void)? { get set }