How can I disable keyboard when using UITextField?

so I am creating a car loan application that requires input from the user, they need to specify the price of the car, the interest rate and the number of years they require the loan for.

This app has a custom keyboard (for example in a calculator) consisting of UIButtons, however I need the keyboard to be disabled when I press the UITextField, I need a blinking cursor (first responder), otherwise the program won't know which text field it needs fill in.

Does anyone know how I can achieve this?

I tried to disable user interaction but also removes the cursor, I also thought about using labels, but that would look a little weird, any help would be appreciated.



source to share

1 answer

Try to check the answers to this question.

Prevent showing keyboard by default when UITextField is pressed

It seems that you want



All Articles