isEnabled
A Boolean value that determines whether the button is in an enabled state.
Declaration
var isEnabled: Bool { get set }Discussion
When false, CarPlay doesn’t call the button’s handler, and it changes the button’s appearance to reflect its disabled state.
The default value is true.