title: App crashes when I try to get value of textfield by tag
body: <p>I am dynamically adding textfields to my app though when I try to access them by the tag like this:</p>
  
  <pre><code>UITextField *textField = (UITextField *)[self.view viewWithTag:0];
  </code></pre>
  
  <p>Then try and get the value:</p>
  
  <pre><code>NSString *val = textField.text;
  </code></pre>
  
  <p>The app crashes and I get this error:</p>
  
  <pre><code>-[UIView text]: unrecognized selector sent to instance 0x1edb0c30
  </code></pre>
  
  <p>Any help on how to fix this issue would be much appreciated</p>