title: Use custom numeric keyboard on iPad only
body: <p>New to iPad development. I would like to use a custom numeric keyboard (using a pod) on iPad, but the native one on iPhones. Is it possible to make an extension on UITextField, UITextView to set/get inputView/keyboardType? Or is there an other solution?</p>
  
  <pre><code>myTextField.keyboardType = .decimalPad
  
  extension UITextField {
      ....
  
      case .decimalPad:
         if UIDevice.current.userInterfaceIdiom == .pad {
      ...
  }
  </code></pre>