Show virtual keyboard without user's tap (iOS and Android)
Hi all,
I have a TextInput. I want to show virtual keyboard automatically without user's tap.
I try to google the solution but none of them works to me.
(For example, Qt.inputMethod.show() doesn't work)
Could somebody give me a hint how to do that? Either QML or C++ solution is fine.
Thank you very much.
Best regards,
Clark
Re: Show virtual keyboard without user's tap (iOS and Android)
Have you tried calling forceActiveFocus() on the element?
Cheers,
_
Re: Show virtual keyboard without user's tap (iOS and Android)
Thank you Anda Skoa!!!! forceActiveFocus() works
Added after 38 minutes:
Hi all,
For those of you who are concerned about this issue.
You could show virtual keyboard for iOS by calling textInput_ID.forceActiveFocus()
And show virtual keyboard for Android by calling Qt.inputMethod.show()
Cheers.......