FilterSelectionController

@objc(PESDKFilterSelectionController) open class FilterSelectionController: NSObject

A FilterSelectionController contains everything that is needed to display a list of available filters.

  • Returns a newly allocated instance of a FilterSelectionController using the given input image.

    Declaration

    Swift

    public init(inputImage: UIImage?)

    Parameters

    inputImage

    The input image that should be used to preview the filters.

    Return Value

    An instance of a FilterSelectionController.

  • Updates the cell selection based on the activePhotoEffectBlock.

    Declaration

    Swift

    open func updateSelection(animated: Bool)

    Parameters

    animated

    If true the selection will be animated.