UIButton
-
Mechanica
Sets the background
color
to use for the specified buttonstate
.Declaration
Swift
public func setBackgroundColor(_ color: UIColor, for state: UIControlState)
Mechanica Docs (100% documented)
Mechanica
Sets the background color
to use for the specified button state
.
Swift
public func setBackgroundColor(_ color: UIColor, for state: UIControlState)