FilterEditControllerDelegate
@available(iOS 9.0, *)
@objc(PESDKFilterEditControllerDelegate)
public protocol FilterEditControllerDelegate : AnyObject
The FilterEditControllerDelegate
defines methods that allow you to respond to messages from
the FilterEditController
.
-
Asks the delegate for the scroll view to which zoom events of the filter edit controller should be forwarded.
Declaration
Swift
func filterEditControllerTargetScrollView(_ filterEditController: FilterEditController) -> UIScrollView?
Parameters
filterEditController
The filter edit controller asking for the scroll view.
Return Value
The scroll view which should be the target of the proxy scroll view.
-
Tells the delegate that the controller’s
PhotoEditModel
changed.Declaration
Swift
func filterEditControllerDidChangePhotoEditModel(_ filterEditController: FilterEditController)
Parameters
filterEditController
The filter edit controller that changed the photo edit model.
-
Tells the delegate when the preview view’s preferred insets changed.
Declaration
Swift
func filterEditController(_ filterEditController: FilterEditController, didChangePreferredPreviewViewInsetsAnimated animated: Bool)
Parameters
filterEditController
The filter edit controller object that changed the insets.
animated
Whether or not this change should be animated.