SliderEditController

@available(iOS 9.0, *)
@objcMembers
open class SliderEditController<SliderType> : ViewController, ProxyZoomControllerDelegate, SliderContainerControllerDelegate where SliderType : Slider

A SliderEditController displays a slider at the bottom of its view. It can also contain a ProxyZoomController. It is supposed to be contained in a tool controller and is added above a PhotoEditPreviewController.

  • Hides the slider.

    Declaration

    Swift

    open func hideSlider(animated: Bool)

    Parameters

    animated

    Whether to animated this change.

  • Shows the slider.

    Declaration

    Swift

    open func showSlider(animated: Bool)

    Parameters

    animated

    Whether to animate this change.

  • Hides the slider if it is currently visible and shows it if it is currently hidden.

    Declaration

    Swift

    open func toggleSlider(animated: Bool)

    Parameters

    animated

    Whether to animate this change.