-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do something when click on Return Button #426
Comments
For the return button. Either you can use IQKeyboardReturnHandler, and set it's delegate to self. You don't need to set email, password textfield delegate to returnKeyHandler. Now you can implement textfieldShouldReturn and you can do your custom work there. CustomDoneTarget is a different thing and doesn't bound with return key. |
It doesn't work. I tried to use your keyboardManager for tableView with textViews in cells. Arrow button works perfectly, but return key doesn't work as expected.
|
I tried that :
but the textfields do not respond at all ! it is impossible to type anything in them. Finally, I did it manually :
and it works as expected |
Write something like this, And It will work Perfectly. extension LoginVC : UITextFieldDelegate { |
You just need to add this code on the
|
Hi,
I don't understand how to do something when the user press on return button.
I tried that in
viewDidLoad
:But it doesn't work...
Something else, I am confused about the custom Done Button (in the bar above the keyboard) and the keyboard Return button (bottom right).
Thank your for this pod !
The text was updated successfully, but these errors were encountered: