title: UITextField no edit, but for copy/paste
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1920541/enable-copy-and-paste-on-uitextfield-without-making-it-editable">Enable copy and paste on UITextField without making it editable</a>  </p>
  </blockquote>
  
  
  
  <p>I need to disable editing on UITextField but keep the copy/paste function</p>
  
  <p>when i use </p>
  
  <pre><code>textField.enabled = NO;
  </code></pre>
  
  <p>then function copy/paste is disabled;</p>
  
  <pre><code>textField.editing = NO;
  </code></pre>
  
  <p>Xcode write "Assigning to property with 'readonly' attribute not allowed</p>