programmatically scroll swift code example Example: how to manually scroll scrollview objective C [scrollView setContentOffset:CGPointMake(x, y) animated:YES];