Closed kmuddapu closed 6 years ago
You should also adjust tableView's contentOffset
.
@devxoul Can you please provide me any sample code.
I wrote below code but not working . Tableview not scrolling to row selected.
RxKeyboard.instance.willShowVisibleHeight .drive(onNext: { keyboardVisibleHeight in self. myTableView.contentOffset.y += keyboardVisibleHeight }) .disposed(by: disposeBag)
@kmuddapu try using scrollToRowAtIndexPath
instead.
I have textfields in 3 sections in tableview . how to show keyboard near to textfield ?
Im using below code but when I click on bottom textfield . View going to top almost near to navigation.