title: how to disable UIMenuControll (cut,copy,paste,select all,delete) in UIviewController subclass?
body: <p>i have implemented many methods but paste doesn't hide. i am using Xcode Version 4.5.2</p>
  
  <pre><code>-(BOOL)canPerformAction:(SEL)action withSender:(id)sender {
      UIMenuController *menuController = [UIMenuController sharedMenuController];
      if (menuController) {
          [UIMenuController sharedMenuController].menuVisible = NO;
  
      }
      return NO;  
  }
  </code></pre>
  
  <p>every method is seems to fail working for me. can anybody help me on this? thanks in advance</p>