Questions tagged [touchescancelled]

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

touchesCancelled:withEvent: is a UIResponder event-handling method in the UIKit framework and MonoTouch.UIKit Namespace that is triggered when a touch event is cancelled.

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

Syntax Examples

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

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

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

Resources

Related Tags

17 questions
0
votes
1 answer

Looping touchCancelled on actionSheet show

I have this very simple Xcode handler: -(void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event { [super touchesCancelled:touches withEvent:event]; NSLog(@"taxi touchcancelled"); NSString *postOption=NSLocalizedString(@"SELECTEDTAXI",…
Fabrizio Bartolomucci
  • 4,948
  • 8
  • 43
  • 75
-1
votes
2 answers

UIButton inside UIScrollView delay when tap

I'm new in using swift and I have a problem when create it I'm using swift 2 XCode 7 I have a button at the bottom of scrollview to submit all textfield that I put above but when I tap the button I have to hold for a few second before the button is…
Dirus
  • 1,033
  • 2
  • 14
  • 21
1
2