private void SetupSwipeGesture() { var swipeGesture = new UISwipeGestureRecognizer(OnSwipeDetected) { Direction = UISwipeGestureRecognizerDirection.Down, }; Input.AddGestureRecognizer(swipeGesture); }