共用方式為


UIGestureRecognizerDelegate_Extensions.ShouldRecognizeSimultaneously 方法

定義

是否應該允許兩個手勢辨識器同時辨識手勢。

public static bool ShouldRecognizeSimultaneously (this UIKit.IUIGestureRecognizerDelegate This, UIKit.UIGestureRecognizer gestureRecognizer, UIKit.UIGestureRecognizer otherGestureRecognizer);
static member ShouldRecognizeSimultaneously : UIKit.IUIGestureRecognizerDelegate * UIKit.UIGestureRecognizer * UIKit.UIGestureRecognizer -> bool

參數

This
IUIGestureRecognizerDelegate

這個擴充方法運作所在的實例。

gestureRecognizer
UIGestureRecognizer
otherGestureRecognizer
UIGestureRecognizer

傳回

適用於