void RemoveGestureRecognizers() { if (BackgroundView.GestureRecognizers != null && Enumerable.Any <UIGestureRecognizer>(BackgroundView.GestureRecognizers)) { foreach (UIGestureRecognizer gesture in BackgroundView.GestureRecognizers) { BackgroundView.RemoveGestureRecognizer(gesture); } } }