There is a game that i load in the WKWebView and this Alert and textField appear after the game is finished. I want to display keyboard when user taps on the textField. But the problem is there is no code to display this alert and textfield, otherwise i would have managed the textField to becomeFirstResponder().
Desperately need some help. I would really appreciate it.
Okay so i have found the solution. I had a textField in custom Alert/Popup in WkwebView and i wanted the textField to
becomeFirstResponder()
so i could take user input.// So i Implemented WKUIDelegate..
Assigned the Delegate..
//implemented delegate function.
After successful build, this was the output.
Maybe i was not good enough to explain my question, but this is what i was asking for. Thank you :)