Use this tag for questions related to touchesBegan:withEvent, a UIResponder event-handling method in the UIKit framework and MonoTouch.UIKit Namespace.
touchesBegan:withEvent:
is a UIResponder
event-handling method in the UIKit framework and MonoTouch.UIKit Namespace that is triggered when one or more fingers touches the screen.
Along with touchesCancelled:withEvent:
, touchesEnded:withEvent:
, and touchesMoved:withEvent:
, it is one of the primary touch event-handling methods.
Syntax Examples
func touchesBegan(_ touches: Set<UITouch>,
withEvent event: UIEvent?)
- (void)touchesBegan:(NSSet<UITouch *> *)touches
withEvent:(UIEvent *)event
[MonoTouch.Foundation.Export("touchesBegan:withEvent:")]
public virtual Void TouchesBegan (NSSet touches, UIEvent evt)