setIncrementImage(_:for:)
Sets the image to use for the increment glyph of the control.
Declaration
func setIncrementImage(_ image: UIImage?, for state: UIControl.State)Parameters
- image:
The image to use for the increment glyph.
- state:
The control state.
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 plus (+) glyph is used.