Contents

maximumVolumeSliderImage(for:)

Returns the maximum volume image associated with the specified control state.

Declaration

func maximumVolumeSliderImage(for state: UIControl.State) -> UIImage?

Parameters

  • state:

    The control state whose maximum volume image you want. You should specify only one control state value for this parameter.

Return Value

The maximum volume 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.

Discussion

For a description of slider and thumb images, see Customizing the volume slider’s appearance.

See Also

Customizing the volume slider