Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Wrong IOS keyboard

Discussion in 'iOS and tvOS' started by yammbo, Aug 5, 2014.

  1. yammbo

    yammbo

    Joined:
    Mar 11, 2014
    Posts:
    2
    Hello Unity3D community,

    I have a problem with an IOS app...
    I have a gui.textfield in my app but I only need numbers and because of that I would need a numpad like this:
    corrnumpad.JPG

    My problem is that I have a numpad like this at the moment:
    incorrnumpad.JPG


    At the moment I have no idea how to fix this issue. If you need any further information, do not hesitate to write :)

    Thank you!
     
  2. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
  3. yammbo

    yammbo

    Joined:
    Mar 11, 2014
    Posts:
    2
    Last edited: Aug 5, 2014
  4. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    It's the second argument to the TouchScreenKeyboard.Open() function. The example on that documentation page shows how you integrate GUI with the handheld keyboard. The example uses a button, but I think you'll want to read the text from the keyboard and write that into the GUIText in which case you'll use the hideInput member set to true.