title: Which UIKeyboardType can I use on the iPad
body: <p>I have a a textField object in my iPad app. I would like to give the user a convenient keyboard for entering numbers. In my code I added:</p>
  
  <pre><code>UITextField *textField = [[UITextField alloc] initWithFrame:frame];
  textField.keyboardType = UIKeyboardTypeDecimalPad;
  </code></pre>
  
  <p>According to the docs this is a valid keyboard type but when I edit the text field the normal ASCII keyboard comes up. However, when I change it to: </p>
  
  <pre><code>textField.keyboardType = UIKeyboardTypePhonePad;
  </code></pre>
  
  <p>The keyboard looks like this: 
  <a href="https://i.stack.imgur.com/LBcGA.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LBcGA.jpg" alt="phonepad keyboard"></a></p>
  
  <p>Ideally I would like a keyboard that only has the numbers and decimal point but is this not possible on the iPad? Does anyone have a definitive list of which keyboards work on the iPhone vs. iPad? Apple is unclear on this point. I also saw this <a href="https://stackoverflow.com/questions/6350484/uitextfield-uikeyboardtypedecimalpad-on-ipad">question</a> which is similar but none of the answers really address my point. </p>