Resign the previous responder.

Before selecting the next responder, so keyboard events could be notified properly.

You can observe again the behaviour of the table view with or without the resignFirstResponder on the demo project.