title: UIMenuController not getting displayed
body: <p>I am displaying UIMenuController on long press &amp; double tap gesture, but its not getting displayed. I have followed the answers given here  but it still not showing up. <a href="https://stackoverflow.com/questions/3112925/uimenucontroller-not-showing-up">UIMenuController not showing up</a></p>
  
  <p>Below is my code</p>
  
  <pre><code>- (void) doubleTap:(UITapGestureRecognizer *)gesture
  {
      [self becomeFirstResponder]; 
  
      CGPoint location = [gesture locationInView:[gesture view]];
      UIMenuController *menuController = [UIMenuController sharedMenuController];
      UIMenuItem *resetMenuItem = [[UIMenuItem alloc] initWithTitle:@"DoubleTap" action:@selector(hideKeyboard)];
  
      [menuController setMenuItems:[NSArray arrayWithObject:resetMenuItem]];
      [menuController setTargetRect:CGRectMake(location.x, location.y, 0.0f, 0.0f) inView:[gesture view]];
      [menuController setMenuVisible:YES animated:YES];
  }
  
  - (void) longPress:(UITapGestureRecognizer *)gesture
  {
      [self becomeFirstResponder]; 
  
      CGPoint location = [gesture locationInView:[gesture view]];
      UIMenuController *menuController = [UIMenuController sharedMenuController];
      UIMenuItem *resetMenuItem = [[UIMenuItem alloc] initWithTitle:@"LongPress" action:@selector(hideKeyboard)];
  
      [menuController setMenuItems:[NSArray arrayWithObject:resetMenuItem]];
      [menuController setTargetRect:CGRectMake(location.x, location.y, 0.0f, 0.0f) inView:[gesture view]];
      [menuController setMenuVisible:YES animated:YES];
  }
  
  - (BOOL)becomeFirstResponder
  {
      return YES;
  }
  
  - (BOOL)canPerformAction:(SEL)action withSender:(id)sender
  {
      if (action == @selector(copy:))
      {
          return YES;
      }
      return [super canPerformAction:action withSender:sender];
  }
  </code></pre>
  
  <p>I am trying to get this event on didSelectRow of tableView, What can be worng. </p>