iOS Guides | Samples

MonoTouch.UIKit.UIPressesEvent Class

Holds data relating to the pressing of physical button(s).

See Also: UIPressesEvent


[MonoTouch.Foundation.Register("UIPressesEvent", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 9, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public class UIPressesEvent : UIEvent


Button presses may occur in rapid, overlapping sequences (for instance, with a game controller). The UIPressesEvent contains one or more UIPress objects.

Related content


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

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

See Also: UIEvent

Public Constructors

Default constructor, initializes a new instance of this class.
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.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

AllPressesNSSet. A NSSet of one or more UIPress objects.
ClassHandleIntPtr. The handle for this class.

Public Methods

GetPresses(UIGestureRecognizer) : NSSet
A set of one or more UIPress objects associated with the gestureUIGestureRecognizer.