ProxyZoomController
@available(iOS 9.0, *)
@objcMembers
@objc(PESDKProxyZoomController)
open class ProxyZoomController : ViewController
extension ProxyZoomController: UIScrollViewDelegate
A ProxyZoomController
is supposed to be contained in a tool controller. It is added above
a PhotoEditPreviewController
and can forward scroll view events to the preview, to enabled
zooming and scrolling within a tool.
-
If
wantsScrollingInDefaultPreviewViewEnabled
is true, this is the scroll view that acts as a proxy scroll view for the underlying image scroll view.Declaration
Swift
open var proxyScrollView: UIScrollView?
-
If
wantsScrollingInDefaultPreviewViewEnabled
is true, this acts as the content view of thetoolControllerScrollView
.Declaration
Swift
open var proxyContentView: UIView?
-
An object that acts as a delegate. This is usually the tool controller that contains this view controller.
Declaration
Swift
open weak var delegate: ProxyZoomControllerDelegate?
-
Creates the views necessary to enabled proxy scrolling and zooming.
Declaration
Swift
open func setupProxyScrolling()
-
Resets the proxy scroll view’s properties to match the target scroll view’s properties.
Declaration
Swift
open func resetProxyScrolling()