Instance Method

scrollViewDidZoom(_:)

Tells the delegate that the scroll view’s zoom factor changed.

Declaration

optional func scrollViewDidZoom(_ scrollView: UIScrollView)

Parameters

scrollView

The scroll-view object whose zoom factor changed.

See Also

Managing Zooming

func viewForZooming(in: UIScrollView) -> UIView?

Asks the delegate for the view to scale when zooming is about to occur in the scroll view.

func scrollViewWillBeginZooming(UIScrollView, with: UIView?)

Tells the delegate that zooming of the content in the scroll view is about to commence.

func scrollViewDidEndZooming(UIScrollView, with: UIView?, atScale: CGFloat)

Tells the delegate when zooming of the content in the scroll view completed.