OverlayEditController

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKOverlayEditController)
open class OverlayEditController : ViewController

A OverlayEditController displays controls to update the blend mode and intensity of an overlay. It is supposed to be contained in a tool controller and be presented above a PhotoEditPreviewController. It contains a SliderEditController to present a slider to control the overlay intensity.

  • Changes the currently set overlay.

    Declaration

    Swift

    open func setOverlay(_ overlay: Overlay?, animated: Bool)

    Parameters

    overlay

    The new overlay or nil to disable the overlay.

    animated

    Whether to animate this change.