title: Iphone UITextField only integer
body: <p>I have a UITextField in my IB and I want to check out if the user entered only numbers (no char)and get the integer value.</p>
  
  <p>I get the integer value of the UITextField like that :</p>
  
  <pre><code>int integer = [myUITexrtField.text intValue];
  </code></pre>
  
  <p>When I put a character ( , ; . ) it return me 0 and I don't know how to detect that it is not only numbers.</p>
  
  <p>How can I do?</p>