title: Disabling copy function in UITextView not working
body: <p>I have a xib which includes a hidden UITextView until I click a button which makes the textview visible.</p>
  
  <p>I want to disable copy just for the uitextview when the text is highlighted.</p>
  
  <p>I've tried a few things, including</p>
  
  <pre><code>- (BOOL)canPerformAction:(SEL)action withSender:(id)sender
  {
  
      if (action == @selector(copy:))
          return NO;
  
  
      return [super canPerformAction:action withSender:sender];
  }
  </code></pre>
  
  <p>however, this doesn't do anything. I've tried to unhide it on load, but it still doesn't work.
  I've also found that it doesn't work for anything else in that associated xib. I can still copy any other text. </p>
  
  <p>Anyone have an idea as to why?</p>