title
The text of the title label the button displays.
Declaration
var title: String? { get set }Discussion
This property matches the string value of the attributedTitle property. To change the button title when the button state changes, use configurationUpdateHandler or updateConfiguration().