title: Restricting copy,paste option for a particular UITextfield
body: <p>My UIView contains Two UITextField.I need to restrict copy,paste option for one textfield.I don't want to restrict that for another.</p>
  
  <p>When i am using the following code,Both the field gets restricted from copy,paste.</p>
  
  <pre><code>-(BOOL)canPerformAction:(SEL)action withSender:(id)sender 
  {
      if ( [UIMenuController sharedMenuController] )
      {
              [UIMenuController sharedMenuController].menuVisible = NO;
      }
       return NO;
  }
  </code></pre>
  
  <p>Can any one provide me the solution to solve my problem.</p>