UIButton

  • Mechanica

    Sets the background color to use for the specified button state.

    Declaration

    Swift

    public func setBackgroundColor(_ color: UIColor, for state: UIControlState)