FilterEditController

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKFilterEditController)
open class FilterEditController : ViewController

A FilterEditController can update the applied filter and the filter’s intensity using a contained SliderEditController. It is supposed to be contained in a tool controller and is added above a PhotoEditPreviewController.

  • Updates the currently set effect. If nil is passed, the slider is hidden, otherwise it is shown.

    Declaration

    Swift

    open func setEffect(_ effect: Effect?, animated: Bool)

    Parameters

    effect

    The effect to apply, if any.

    animated

    Whether to animate the showing or hiding of the slider.