Editar

Compartir a través de


UIScrollView.TouchesShouldBegin(NSSet, UIEvent, UIView) Method

Definition

This method is provided so that the behaviour of a touch in the content view may be customized by a subclass.

[Foundation.Export("touchesShouldBegin:withEvent:inContentView:")]
public virtual bool TouchesShouldBegin (Foundation.NSSet touches, UIKit.UIEvent withEvent, UIKit.UIView inContentView);
abstract member TouchesShouldBegin : Foundation.NSSet * UIKit.UIEvent * UIKit.UIView -> bool
override this.TouchesShouldBegin : Foundation.NSSet * UIKit.UIEvent * UIKit.UIView -> bool

Parameters

touches
NSSet

A collection of UITouches.

withEvent
UIEvent

The UIEvent to which touches belongs to.

inContentView
UIView

This is the subview where the touch-down event occured in.

Returns

true if the scroll view is to send the event messages to inContentView.

Attributes

Remarks

This method is meant to be override by subclasses of UIScrollView.

Applies to