Im making a typing game for iOS but while the InputField works on a normal computer keyboard, it doesn’t bring up the touch keyboard when I test it on my phone. Meaning, I can’t type anything. What am I missing that would allow me to bring the touch keyboard on my phone when tapped on or just to keep it up as a default in the view. I’ve looked everywhere else with no success so any help will be appreciated. Thanks in advance.
I got the same problem. But it’s only not working on devices with the new iOS 11.
We are getting iOS 11 customer complaints about this too. Did you find a solution?
I’m working on a reproducible test case to submit as a bug today.
I’m not sure if updating Unity, Xcode, or NGUI will help - or is this an iOS bug?
Unity 5.6.3f1, Xcode 8.3.3, NGUI 3.9.4
Hello.
Any news ? It’s critical …
thx
The following temporary hack works for me (tested with iOS 11.1.2 & 11.2.1) with Unity 5.5.5p1 (haven’t tested on other Unity versions).
It appears that Keyboard.mm: UnityKeyboard_IsActive() is returning true first time around when no keyboard is active.
Open the resulting Xcode project.
Open the Keyboard.mm class under: Classes → UI
Look for the function UnityKeyboard_IsActive() and change as follows:
BOOL isKeyboardActive = NO; // add new flag for first time ignore active state
extern "C" int UnityKeyboard_IsActive()
{
// --------------------------------
// Add the following to return false for first time test
//
if( !isKeyboardActive )
{
isKeyboardActive = YES;
return 0;
}
// --------------------------------**
return (_keyboard && _keyboard.active) ? 1 : 0;
}
See also link text