iOS Guides | Samples

MonoTouch.UIKit.UITapGestureRecognizer Class

A UIGestureRecognizer that recognizes single or multiple taps.

See Also: UITapGestureRecognizer

Syntax

[MonoTouch.Foundation.Register("UITapGestureRecognizer", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 3, 2, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public class UITapGestureRecognizer : UIGestureRecognizer

Related content

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UITapGestureRecognizer are listed below.

See Also: UIGestureRecognizer

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
Constructs a gesture recognizer and provides a method to invoke when the gesture is recognized.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
Constructs a gesture recognizer and provides a method to invoke when the gesture is recognized.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.
NumberOfTapsRequiredUInt32. The numebr of taps required to recognize this gesture. The default is 1.
NumberOfTouchesRequiredUInt32. The minimum number of touches requires to recognize the gesture. Default is 1.