Application in Unity editor works fine, but has some problems on iPad

Hi to all of you,

I am experiencing some problems with my Unity application on the iPad :

  1. Special characters aren’t visible on the iPad
    This seems a bit odd to me, I am working on an Estonian iPad app in Unity and the Estonian alphabet has some special characters in it, such as õ, ö and so on. In my application I have a GUI.TextArea where the user can type in some texts, but these special characters aren’t visible on the iPad. In Unity editor it all works fine, if I type there the word ‘sünnipäevaks’ , it shows it correctly. However, on the iPad it only shows ‘snnipevaks’, the ü and the ä are filtered out of it. How can I fix this?

  2. Giving focus to GUI.TextArea
    This is a problem regarding the GUI.TextArea, I’m showing a GUI.TextArea in my application and I want that the user immediately can start typing as soon as the TextArea becomes visible. I used the GUI.SetNextControlName() and GUI.FocusControl() functions for this, and again it works perfectly in Unity editor. However, if I run the application on the iPad, I still need to touch inside the TextArea before the keyboard shows up. Is it possible that the textarea on the iPad also immediately shows the keyboard when it gets focus?

  3. Detecting the “done” button pressed on the keyboard form the iPad
    This is about the same textarea as in question #2, I added in my code the functionality that the textarea loses focus (and thus not able to type any text in it) as soon as I click outside the textarea. this works in unity editor, this works on the iPad. However, the keyboard on the iPad has this nice “done” button. Can I detect in my code when this “done” button is touched, so that I can perform the same code also?

I hope that someone of you can help me with this. thanks in advance :slight_smile:

  1. normally I would say check if the font you use is imported as Unicode and that the font you use supports your language at all. The editor uses dynamic font which does not exist on mobile which can hide it due to the font on your system!

  2. You must call the keyboard manually. Setting focus will not show the keyboard, keyboard showing is a consequence of the touch event, not focus

  3. Yes, ask the iPhoneKeyboard (its a singleton static), it has a property for it

Thanks, #1 and #3 are clear to me now.

about number #2, how to do this? I know, google is your friend, but in this case it ain’t my friend :frowning: