Author Topic: Password input field on iOS  (Read 1967 times)

Egis

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Password input field on iOS
« 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!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Password input field on iOS
« Reply #1 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.