I have a UITextField
that, when tapped, brings up a UIPickerView
(_myTextField.inputView = _myPicker;
).
However, in the simulator I can use my Macs keyboard to type into the UITextField
. This is not desirable as I am using the UIPickerView
.
How can I disable, or ignore, the hardware keyboard input for the text fields that are using pickers?