I have a UIScrollView which has several views. When a user flicks their finger, the view scrolls to the right or left depending on the direction of the finger f
UIScrollView
With Animation in Swift
scrollView.setContentOffset(CGPointMake(x, y), animated: true)