uitableview scroll to bottom code example
Example 1: android recyclerview scroll to bottom
recyclerView.scrollToPosition(list.size - 1)
layoutManager.reverseLayout = true
Example 2: swift scrollview scroll to bottom
let bottomOffset = CGPoint(x: 0, y: scrollView.contentSize.height - scrollView.bounds.size.height)
scrollView.setContentOffset(bottomOffset, animated: true)
Example 3: UITableview scroll to bottom swift
let indexPath = IndexPath(item: noOfRows, section: 0)
yourTableView.scrollToRow(at: indexPath, at: UITableView.ScrollPosition.bottom, animated: true)