maximumTrackImage(for:)
Returns the maximum track image associated with the specified control state.
Declaration
func maximumTrackImage(for state: UIControl.State) -> UIImage?Parameters
- state:
The control state whose maximum track image you want to use. Specify a single control state value for this parameter.
Return Value
The maximum track image associated with the specified state, or nil if an appropriate image could not be retrieved. This method might return nil if you specify multiple control states in the state parameter. For a description of track images, see Customize the slider’s appearance.