Use UIKeyboardTypeDecimalPad for number fields on iOS
Fixes https://github.com/libsdl-org/SDL/issues/12025
This commit is contained in:
parent
90b2e2527e
commit
f8040b2e01
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue