Search Unity

TextArea on iOs

Discussion in 'iOS and tvOS' started by kenfalco, Jul 18, 2012.

  1. kenfalco

    kenfalco

    Joined:
    Jul 18, 2012
    Posts:
    27
    Hello, i have a problem when i minimize the keyboard on Ipad or iPhone after click on TextArea the text edit area don't disappear and remains stucked.
    All work fine only if "done" is pressed.
    Someone have resolved this ? or exist an alternative ?

    Thanks

    Gabriel
     
  2. Moonjump

    Moonjump

    Joined:
    Apr 15, 2010
    Posts:
    2,572
    I include this in my keyboard code:

    Code (csharp):
    1. keyboardSeen = false;
    2.  
    3. if (keyboard.visible)
    4.     keyboardSeen = true;
    5. if (!keyboard.visible  keyboardSeen)
    6.     // keyboard minimised action