Contents

currentTitle

The current title that is displayed on the button.

Declaration

var currentTitle: String? { get }

Discussion

The value for this property is set automatically whenever the button state changes. For states that do not have a custom title string associated with them, this method returns the title that is currently displayed, which is typically the one associated with the normal state. The value may be nil.

See Also

Related Documentation

Getting the current state