AdjustEditControllerDelegate
@available(iOS 9.0, *)
@objc(PESDKAdjustEditControllerDelegate)
public protocol AdjustEditControllerDelegate : AnyObject
The AdjustEditControllerDelegate
defines methods that allow you to respond to messages from
the AdjustEditController
.
-
Tells the delegate when the preview view’s preferred insets changed.
Declaration
Swift
func adjustEditController(_ adjustEditController: AdjustEditController, didChangePreferredPreviewViewInsetsAnimated animated: Bool)
Parameters
adjustEditController
The adjust edit controller object that changed the insets.
animated
Whether or not this change should be animated.
-
Asks the delegate for the scroll view to which zoom events of the adjust edit controller should be forwarded.
Declaration
Swift
func adjustEditControllerTargetScrollView(_ adjustEditController: AdjustEditController) -> UIScrollView?
Parameters
adjustEditController
The adjust 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 adjustEditControllerDidChangePhotoEditModel(_ adjustEditController: AdjustEditController)
Parameters
adjustEditController
The adjust edit controller that changed the photo edit model.