Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Egis on November 11, 2016, 09:18:41 AM

Title: Password input field on iOS
Post by: Egis on November 11, 2016, 09:18:41 AM
On iOS when you entering password,  another input fields shows up above keyboard. setting UIInput.hideInput to false, doesn't work, so i found that "inputShouldBeHidden" always returns false if it is password field.
Removing inputType != InputType.Password;  returns old bug when first character is not written in password field.

So is there any solution to avoid input field showing up above keyboard, but still get password field working correctly?
 
Thank You!
Title: Re: Password input field on iOS
Post by: ArenMook on November 14, 2016, 06:38:53 AM
I don't remember the "old bug" you're referring to, but I vaguely remember the Unity's handling of input being glitchy when it's set to be a password, although at this point I don't remember the details. I can only suggest debugging what values are coming from Unity by adding some logs in UIInput.Update and UIInputOnGUI.OnGUI.