title: UIScreenEdgePanGestureRecognizer Triggering Multiple Times
body: <p>I have the following code in a viewDidLoad on a UIViewController:</p>
  
  <pre><code>UIScreenEdgePanGestureRecognizer *edgeRecognizer = [[UIScreenEdgePanGestureRecognizer alloc] initWithTarget:self action:@selector(handleRightEdgeSwipe:)];
  edgeRecognizer.edges = UIRectEdgeRight;
  [self.view addGestureRecognizer:edgeRecognizer];
  </code></pre>
  
  <p>and the purposes is to trigger a view to slide in when a right edge gesture is detected.</p>
  
  <pre><code>-(void)handleRightEdgeSwipe:(UIGestureRecognizer*)sender
  {
  NSLog(@"Showing Side Bar");
  [self presentPanelViewController:_lightPanelViewController withDirection:MCPanelAnimationDirectionRight];
  }
  </code></pre>
  
  <p>But I am seeing that the "handleRightEdgeSwipe" function is triggered multiple times - sometimes 5 times which makes the side bar view that should smoothly animate slide in to flash multiple times.</p>
  
  <p>(NOTE: I tried triggering the view to appear from a UIButton and it works fine).</p>
  
  <p>Why is the right edge gesture triggered multiple times and how can I fix it?</p>