- Home /
How to stop mobile keyboard from showing?
Hi, I am trying to stop the mobile keyboard from appearing whenever an input field is pressed but I am not having any luck. I want to do this as I am displaying my own keyboard in the game instead. Has anyone done this before or does anyone know how to do this?
thanks
You could always just ignore the input . There's no reason you couldn't use a simple text field and update the text within that. It gets more complex if you want to move backwards and forwards through the text but entering and backspacing text is pretty easy.
I've got a really simple script that does this. Let me know if that's a way forward for you and I'll post it as answer.
Hi, I have now solved it by going into the Xcode project and finding the $$anonymous$$eyboard.mm file and just returning at the start of the method that shows the keyboard.
Well it saves me from going through all my example scripts :)
Your answer
Follow this Question
Related Questions
How to check when enter key was pressed on keyboard (mobile keyboard) 3 Answers
Mobile Keyboards -- Highlighting all text by default when keyboard is opened (iOS vs. Android) 0 Answers
Back button does nothing when keyboard is open (Android, Pixel 3 XL, unity 2019.2.7f2) 1 Answer
simulate pc keyboard input in android touch screen keyboard 0 Answers
Receiving UI/touch events while mobile soft keyboard is open 0 Answers