Hi All,

I am sure I am missing something pretty basic but I can't get my swipe left to 
work :/

Swiping right works fine but swiping left never fires... am I missing the point 
somewhere?

My code is real simple:

UISwipeGestureRecognizer swipe = new UISwipeGestureRecognizer();
swipe.AddTarget(() => {
                if (swipe.Direction == UISwipeGestureRecognizerDirection.Right)
                {
                                Console.WriteLine ("Swipe Right);
                } else {
                                Console.WriteLine ("Swipe Left);
                }
});
this.tableView.AddGestureRecognizer(swipe);

Cheers
Dean

_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to