Skip to content

Do something when click on Return Button #426

Closed
@nahouto

Description

Hi,

I don't understand how to do something when the user press on return button.
I tried that in viewDidLoad :

    returnKeyHandler = IQKeyboardReturnKeyHandler(controller: self)
    emailTextField.delegate = returnKeyHandler
    passwordTextField.delegate = returnKeyHandler
    self.view.setCustomDoneTarget(self, selector: "loginButton:")

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 !

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions