setEnabled(_:)
Sets whether the toolbar item is enabled.
Declaration
func setEnabled(_ enabled: Bool)Parameters
- enabled:
trueto enable the toolbar item; otherwisefalse.
Sets whether the toolbar item is enabled.
func setEnabled(_ enabled: Bool)true to enable the toolbar item; otherwise false.