Questions tagged [touchesended]

Use this tag for questions related to touchesEnded:withEvent, a UIResponder event-handling method in the UIKit framework and MonoTouch.UIKit Namespace.

touchesEnded:withEvent: is a UIResponder event-handling method in the UIKit framework and MonoTouch.UIKit Namespace that is triggered when one or more fingers are removed from the screen.

Along with touchesBegan:withEvent:, touchesCancelled:withEvent:, and touchesMoved:withEvent:, it is one of the primary touch event-handling methods.

Syntax Examples

func touchesEnded(_ touches: Set<UITouch>,
     withEvent event: UIEvent?)

- (void)touchesEnded:(NSSet<UITouch *> *)touches
        withEvent:(UIEvent *)event

[MonoTouch.Foundation.Export("touchesEnded:withEvent:")]
public virtual Void TouchesEnded (NSSet touches, UIEvent evt)

Resources

Related Tags

32 questions
0
votes
1 answer

How to detect in touchesEnded which nodes are still being pressed

I've been stuck on this problem for days. What I have is multiple SKSpriteNode's, one for a left arrow, right arrow and up arrow. When I hold down the right arrow I want my character to continue moving right while its being held down, on the other…
Xsv23
  • 81
  • 1
  • 1
  • 6
0
votes
0 answers

Xamarin keyboard dismissing on simulator, but not on device

I'm able to run my app on the simulator and when I click out of the text field, the keyboard is dismissed. If I run the application on my device and touch outside of the text field when the keyboard is up, the keyboard is not dismissed. I have…
gsg822
  • 11
  • 2
1 2
3