UIScrollView setContentOffset example in Objective C (iOS).

UIScrollView setContentOffset

Parameters of [UIScrollView setContentOffset]
contentOffset
A point (expressed in points) that is offset from the content view’s origin.
animated
YES to animate the transition at a constant velocity to the new offset, NO to make the transition immediate.