I want hide keyboard after I click “return” or “go” button on keyboard(This keyboard is opened by UIWebview textinputfield).
My practice is open a new keyboard to instead old one and then set the new keyboard’s active to false.It works well on Android platform.But on IOS, new keyboard can’t be remove even though I set active = false. here is my codes:
private float time = 0.0f;
private TouchScreenKeyboard m_keyboard;
private void Update()
{
if(time >= 8.8f)
{
time = 0.0f;
m_keyboard = TouchScreenKeyboard.Open("");
m_keyboard.active = false;
}
}