setContentOffset(_:animated:)
Sets the offset distance between the content and the browser’s origin.
Declaration
func setContentOffset(_ contentOffset: CGPoint, animated: Bool)Parameters
Discussion
Increasing the offset’s x value shifts the content to the left. Increasing the offset’s y value shifts the content upward.