func scrollToBottom() {
let index = messageList.endIndex - 1
let indexPath = NSIndexPath(forRow: index, inSection: 0)
tableView.scrollToRowAtIndexPath(indexPath, atScrollPosition: UITableViewScrollPosition.Bottom, animated: false)
}
19.UTTableView滚动到底部
来源:华拓网