src/video/uikit/SDL_uikitview.m
changeset 5134 c63b901d97ab
parent 5132 5f09cb749d75
child 5218 572a73d71b5f
equal deleted inserted replaced
5133:b915b3181cc2 5134:c63b901d97ab
   296     return NO; /* don't allow the edit! (keep placeholder text there) */
   296     return NO; /* don't allow the edit! (keep placeholder text there) */
   297 }
   297 }
   298 
   298 
   299 /* Terminates the editing session */
   299 /* Terminates the editing session */
   300 - (BOOL)textFieldShouldReturn:(UITextField*)_textField {
   300 - (BOOL)textFieldShouldReturn:(UITextField*)_textField {
       
   301     SDL_SendKeyboardKey(SDL_PRESSED, SDL_SCANCODE_RETURN);
   301     [self hideKeyboard];
   302     [self hideKeyboard];
   302     return YES;
   303     return YES;
   303 }
   304 }
   304 
   305 
   305 #endif
   306 #endif