UIKit.UIEvent Class
Touch Events.

See Also: UIEvent Members


[Foundation.Register("UIEvent", true)]
public class UIEvent : Foundation.NSObject


UIEvents contain a collection of all the touches (UIKit.UITouch) taking place on the screen, these can be obtained by calling the UIEvent.AllTouches. If you want to fetch only the UITouch events associated with a specific window, call the UIEvent.TouchesForWindow(UIWindow) method. If you are only interested in the touch events for a particular view, call the UIEvent.TouchesForView(UIView) method.

Related content


Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: