setContentOffset(_:animated:)
Sets the offset from the content view’s origin that corresponds to the scroll view’s origin.
Declaration
func setContentOffset(_ contentOffset: CGPoint, animated: Bool)Sets the offset from the content view’s origin that corresponds to the scroll view’s origin.
func setContentOffset(_ contentOffset: CGPoint, animated: Bool)