How I can scroll table view to position TextField to center of the screen when keyboard has shown?
Asked
Active
Viewed 49 times
0
-
There are answers in Swift in the duplicate. – rmaddy Oct 28 '18 at 21:33
1 Answers
0
You have to subscribe on NSNotification.Name.UIKeyboardWillShow
and scroll the table when it needed.
tableView.scrollToRow(at: indexPath, at: .middle, animated: true)

Vyacheslav
- 26,359
- 19
- 112
- 194