Instance Property

bouncesZoom

A Boolean value that determines whether the scroll view animates the content scaling when the scaling exceeds the maximum or minimum limits.

Declaration

var bouncesZoom: Bool { get set }

Discussion

If the value of this property is true and zooming exceeds either the maximum or minimum limits for scaling, the scroll view temporarily animates the content scaling just past these limits before returning to them. If this property is false, zooming stops immediately at one a scaling limits. The default is true .

See Also

Zooming and Panning

var panGestureRecognizer: UIPanGestureRecognizer

The underlying gesture recognizer for pan gestures.

var pinchGestureRecognizer: UIPinchGestureRecognizer?

The underlying gesture recognizer for pinch gestures.

func zoom(to: CGRect, animated: Bool)

Zooms to a specific area of the content so that it is visible in the receiver.

var zoomScale: CGFloat

A floating-point value that specifies the current scale factor applied to the scroll view's content.

func setZoomScale(CGFloat, animated: Bool)

A floating-point value that specifies the current zoom scale.

var maximumZoomScale: CGFloat

A floating-point value that specifies the maximum scale factor that can be applied to the scroll view's content.

var minimumZoomScale: CGFloat

A floating-point value that specifies the minimum scale factor that can be applied to the scroll view's content.

var isZoomBouncing: Bool

A Boolean value that indicates that zooming has exceeded the scaling limits specified for the receiver.

var isZooming: Bool

A Boolean value that indicates whether the content view is currently zooming in or out.