title: How do you REALLY remove Copy from UIMenuController
body: <p>There apparently used to be an <a href="https://stackoverflow.com/questions/4311009/uimenucontroller-in-uiwebview-with-custom-menu-items-without-more-menu/4413464#4413464">easy way</a> to prevent the "More..." label from appearing in UIMenuController when you added more than one custom menu item. You just had to remove all of the system menu items. There was even a <a href="https://stackoverflow.com/questions/3255070/problems-adding-more-than-one-uimenuitem-to-uimenucontroller">workaround here</a> for still having copy work. You just had to implement a custom copy command using a different selector and then override canPerformAction:withSender: to not show the system copy:</p>
  
  <pre><code>-(BOOL)canPerformAction:(SEL)action withSender:(id)sender 
  {
      if (action == @selector(copy:))
         return NO;
      else
         // logic to show or hide other things
  }
  </code></pre>
  
  <p>Unfortunately this method no longer works (at least in a UIWebView subclass). canPerformAction:withSender: is called for every system menu item except copy: so the result is that the system copy menu item is always displayed. This means that if you have more than one custom menu item, they are always hidden behind "More..."</p>
  
  <p>So, is there a way to really remove the system's copy item or some alternate way to prevent menu items from hiding behind "More..."?</p>
  
  <p><strong>Update</strong></p>
  
  <p>This is the output I get when I override canPerformAction:withSender: notice that the method is never called for the "copy:" action:</p>
  
  <pre><code>cannot perform action cut: with sender &lt;UIMenuController: 0x7227d30&gt;.
  cannot perform action select: with sender &lt;UIMenuController: 0x7227d30&gt;.
  cannot perform action selectAll: with sender &lt;UIMenuController: 0x7227d30&gt;.
  cannot perform action paste: with sender &lt;UIMenuController: 0x7227d30&gt;.
  cannot perform action delete: with sender &lt;UIMenuController: 0x7227d30&gt;.
  cannot perform action promptForReplace: with sender &lt;UIMenuController: 0x7227d30&gt;.
  cannot perform action _showMoreItems: with sender &lt;UIMenuController: 0x7227d30&gt;.
  cannot perform action _setRtoLTextDirection: with sender &lt;UIMenuController: 0x7227d30&gt;.
  cannot perform action _setLtoRTextDirection: with sender &lt;UIMenuController: 0x7227d30&gt;.
  can perform action customCopy: with sender &lt;UIMenuController: 0x7227d30&gt;.
  can perform action custom1: with sender &lt;UIMenuController: 0x7227d30&gt;.
  cannot perform action custom2: with sender &lt;UIMenuController: 0x7227d30&gt;.
  can perform action custom3: with sender &lt;UIMenuController: 0x7227d30&gt;.
  can perform action custom4: with sender &lt;UIMenuController: 0x7227d30&gt;.
  cannot perform action cut: with sender &lt;UIMenuController: 0x7227d30&gt;.
  cannot perform action select: with sender &lt;UIMenuController: 0x7227d30&gt;.
  cannot perform action selectAll: with sender &lt;UIMenuController: 0x7227d30&gt;.
  cannot perform action paste: with sender &lt;UIMenuController: 0x7227d30&gt;.
  cannot perform action delete: with sender &lt;UIMenuController: 0x7227d30&gt;.
  cannot perform action promptForReplace: with sender &lt;UIMenuController: 0x7227d30&gt;.
  cannot perform action _showMoreItems: with sender &lt;UIMenuController: 0x7227d30&gt;.
  cannot perform action _setRtoLTextDirection: with sender &lt;UIMenuController: 0x7227d30&gt;.
  cannot perform action _setLtoRTextDirection: with sender &lt;UIMenuController: 0x7227d30&gt;.
  </code></pre>