Void
Void

Reputation: 1

How to type text inside a TableViewCell and move to the next TableViewCell to Continue typing text in Swift

when the tableview comes open I want to enter text in the field and then press done to move to the next cell for more text input

Upvotes: 0

Views: 31

Answers (1)

Kelvin Lau
Kelvin Lau

Reputation: 6781

  1. Conform to the UITextFieldDelegate protocol.

  2. Implement the textFieldShouldReturn method.

  3. Call .becomeFirstResponder on the next textField. Remember to return true.

Upvotes: 1

Related Questions