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