title: Multiple swipe recognizer in different components of controller ios
body: <p>I have an <code>UIViewController</code> with a default swipe recognizer to open/close the right side menu of my app(I am using <code>ECSlidingViewController</code> plug in). This swipe recognizer is set to the parent view of the controller.</p>
  
  <p>Here is part of the code to detect the swipe to open the right side menu:</p>
  
  <pre><code>-(void)viewDidAppear:(BOOL)animated {
        [super viewDidAppear:animated];
        [self.view addGestureRecognizer:self.slidingViewController.panGesture];}
  </code></pre>
  
  <p>Inside this <code>UIViewController</code> i have an <code>UIImageView</code>, i need to detect swipe to all directions (right,left,up,down). So far, i have set all swipes on the  <code>Storyboard</code> to <code>UIImageView</code>, but the app only detects the swipe of one component (the one in the parent view to open the right side menu or the one in the <code>UIImageView</code>), not both.</p>
  
  <p>How can i make to detect swipe on both components?</p>