title: ios 9 remove share button from uimenucontroller and uiwebview
body: <p>I am implementing custom UIMenuController and trying to figure out, how can I legally disable Share and Define UIMenuItems of UIMenuController in UIWebView, iOS 9".</p>
  
  <p>I tried :</p>
  
  <pre><code>-(BOOL)canPerformAction:(SEL)action withSender:(id)sender 
  {
     if (action == @selector(share:))
      {
          return NO;
      }
  
      return [super canPerformAction:action withSender:sender];
  }
  </code></pre>
  
  <p>but no luck.</p>
  
  <p>I put this by subclassing UIWebview as well as my View controller but no luck.</p>
  
  <p>The only thing i get as the selector is <code>_share:</code> and as that is private and cannot be used I have to use another option .
  Any other options or Do i need something completely Custom.</p>