Search Unity

Can I change the iOS keyboard "Done" button

Discussion in 'iOS and tvOS' started by blamejane, Jan 9, 2017.

  1. blamejane

    blamejane

    Joined:
    Jul 8, 2013
    Posts:
    233
    I have no idea if this is possible as I can't find any information on how to do it, but I'd like to have the "Done" button text changed to "Search" when entering input on mobile device.

    I have an app (IMDB) where the input field displays the keyboard and the dismiss keyboard button says "Search".

    Any idea how this is done?

    I haven't written Native code yet, but I'm pretty decent at c#. Just need a little direction.

    Edit: I found this from Apple which indicates the use of UIReturnKeySearch for UIReturnKeyType, which will do what I need, just not sure how this is done in unity:

    https://developer.apple.com/reference/uikit/uireturnkeytype
     
    Last edited: Jan 9, 2017
  2. jeremytm

    jeremytm

    Joined:
    Jun 6, 2016
    Posts:
    30
    I would like to know this too.
     
  3. Moonjump

    Moonjump

    Joined:
    Apr 15, 2010
    Posts:
    2,572
  4. Karthikbs

    Karthikbs

    Joined:
    Jun 4, 2020
    Posts:
    2