setDecrementImage(_:for:)
Sets the image to use for the decrement glyph of the control.
Declaration
func setDecrementImage(_ image: UIImage?, for state: UIControl.State)Parameters
- image:
The image to use for the decrement glyph.
- state:
The control state in which you want to display the image.
Discussion
The image you specify is used as a template image to create the final control. If you don’t specify a custom image, a minus (-) glyph is used.