UIScrollViewDelegate.ViewForZoomingInScrollView(UIScrollView) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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