FocusEditController

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKFocusEditController)
open class FocusEditController : ViewController

A FocusEditController displays controls to update a linear or radial blur. It is supposed to be contained in a tool controller and be presented above a PhotoEditPreviewController. It can also contain a SliderEditController to present a slider to control the blur intensity.

  • Changes the active focus mode and displays the correct gradient view.

    Declaration

    Swift

    open func setFocusMode(_ focusMode: FocusMode, animated: Bool)

    Parameters

    focusMode

    The focus mode to use.

    animated

    Whether to animate the layout change.