UIScrollViewDelegate.ViewForZoomingInScrollView(UIScrollView) Method

Definition

Returns the view to scale when zooming is about to occur in the scroll view.

[Foundation.Export("viewForZoomingInScrollView:")]
public virtual UIKit.UIView ViewForZoomingInScrollView (UIKit.UIScrollView scrollView);
abstract member ViewForZoomingInScrollView : UIKit.UIScrollView -> UIKit.UIView
override this.ViewForZoomingInScrollView : UIKit.UIScrollView -> UIKit.UIView

Parameters

scrollView
UIScrollView

Scroll view displaying the content.

Returns

A UIView that will be scaled by the zooming gesture. Return null to prevent zooming.

Attributes

Applies to