v3.2.2: fixed iOS keyboard not showing return key for multiline

This commit is contained in:
Evan Debenham
2025-08-22 14:04:41 -04:00
parent 0b97ab0c7c
commit 9eaf2618f7
4 changed files with 17 additions and 6 deletions

View File

@@ -129,6 +129,15 @@ public class IOSPlatformSupport extends PlatformSupport {
OALSimpleAudio.sharedInstance().setHonorSilentSwitch(value);
}
public void setOnscreenKeyboardVisible(boolean value, boolean multiline){
if (multiline){
//iOS needs 'email' input type to display enter/return key for multiline =S
Gdx.input.setOnscreenKeyboardVisible(value, Input.OnscreenKeyboardType.Email);
} else {
super.setOnscreenKeyboardVisible(value, multiline);
}
}
/* FONT SUPPORT */
//custom pixel font, for use with Latin and Cyrillic languages