scroll view scroll to bottom code example
Example 1: swift scrollview scroll to bottom
let bottomOffset = CGPoint(x: 0, y: scrollView.contentSize.height - scrollView.bounds.size.height)
//OR
//let bottomOffset = CGPoint(x: 0, y: scrollView.frame.maxY)
scrollView.setContentOffset(bottomOffset, animated: true)
Example 2: scrollview scroll to bottom
scrollView.fullScroll(View.FOCUS_DOWN)