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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Help! How to disable autocorrect on iOS Inputfield?

Discussion in 'Scripting' started by mr-sambarlow, May 27, 2015.

  1. mr-sambarlow

    mr-sambarlow

    Joined:
    Nov 11, 2014
    Posts:
    36
    Hi,

    Tearing my hair out on this one... whatever I set on the InputField object, my iOS build has autocorrect kick in when the player uses it. I've tried all the types, including most variants of the 'custom' selection.

    Is it possible to disable autocorrect on iOS inputfields?

    --Sam
     
  2. Suguma

    Suguma

    Joined:
    May 29, 2015
    Posts:
    26
    This is also an issue for me. @mr sambarlow , do you have anything on this?
     
  3. mr-sambarlow

    mr-sambarlow

    Joined:
    Nov 11, 2014
    Posts:
    36
    I ended up fixing this in X-Code -- there's some code in Keyboard.mm (?) which passes the autocorrect flag and I just overwrote this so it always disables autocorrect. Basically search for AutoCorrect in the X-Code project and you'll find the specific bit.
     
    Suguma and Kiwasi like this.