The button type.
SDKs
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- UIKit
Declaration
var buttonType: UIButton.Button Type { get }
Discussion
See UIButton
for the possible values.
The button type.
SDKs
Framework
var buttonType: UIButton.Button Type { get }
See UIButton
for the possible values.
var current Title: String?
The current title that is displayed on the button.
var current Attributed Title: NSAttributed String?
The current styled title that is displayed on the button.
var current Title Color: UIColor
The color used to display the title.
var current Title Shadow Color: UIColor?
The color of the title’s shadow.
var current Image: UIImage?
The current image displayed on the button.
var current Background Image: UIImage?
The current background image displayed on the button.
var image View: UIImage View?
The button’s image view.