ProxyZoomControllerDelegate
@available(iOS 9.0, *)
@objc(PESDKProxyZoomControllerDelegate)
public protocol ProxyZoomControllerDelegate
The ProxyZoomControllerDelegate
defines methods that allow you to respond to messages from
the ProxyZoomController
.
-
Asks the delegate for the scroll view to which zoom events of the proxy zoom controller should be forwarded.
Declaration
Swift
func proxyZoomControllerTargetScrollView(_ proxyZoomController: ProxyZoomController) -> UIScrollView?
Parameters
proxyZoomController
The proxy zoom controller asking for the scroll view.
Return Value
The scroll view which should be the target of the proxy scroll view.
-
Called when scrolling occurred in the proxy scroll view.
Declaration
Swift
func proxyZoomControllerDidScroll(_ proxyZoomController: ProxyZoomController)
Parameters
proxyZoomController
The proxy zoom controller where scrolling occurred.
-
Called when zooming will begin in the proxy scroll view.
Declaration
Swift
func proxyZoomControllerWillBeginZooming(_ proxyZoomController: ProxyZoomController)
Parameters
proxyZoomController
The proxy zoom controller where zooming will begin.
-
Called when zooming occurred in the proxy scroll view.
Declaration
Swift
func proxyZoomControllerDidZoom(_ proxyZoomController: ProxyZoomController)
Parameters
proxyZoomController
The proxy zoom controller where zooming occurred.
-
Called when zooming did end in the proxy scroll view.
Declaration
Swift
func proxyZoomControllerDidEndZooming(_ proxyZoomController: ProxyZoomController)
Parameters
proxyZoomController
The proxy zoom controller where zooming did end.