mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-10 03:46:27 +00:00
Use UIKeyboardTypeDecimalPad for number fields on iOS
Fixes https://github.com/libsdl-org/SDL/issues/12025
This commit is contained in:
@@ -411,7 +411,7 @@ static void SDLCALL SDL_HideHomeIndicatorHintChanged(void *userdata, const char
|
||||
textField.textContentType = UITextContentTypePassword;
|
||||
break;
|
||||
case SDL_TEXTINPUT_TYPE_NUMBER:
|
||||
textField.keyboardType = UIKeyboardTypeNumberPad;
|
||||
textField.keyboardType = UIKeyboardTypeDecimalPad;
|
||||
textField.textContentType = nil;
|
||||
break;
|
||||
case SDL_TEXTINPUT_TYPE_NUMBER_PASSWORD_HIDDEN:
|
||||
|
Reference in New Issue
Block a user