program development

ios development_UIButton's status

Enumeration constants corresponding to normal (Normal state) Default: UIControlStateNormal […]

article directories

normal
Default (Default)
Corresponding enumeration constant: UIControlStateNormal

highlighted
When the button is pressed (the finger has not yet released)
Corresponding enumeration constant: UIControlStateHighlighted

disabled (disabled state)
If the enabled property is NO, it is in a disabled state, which means that the button cannot be clicked
Corresponding enumeration constant: UIControlStateDisabled