Voloda2
Voloda2

Reputation: 12607

How can I scroll to a given position?

I use UIScrollView. I need to scroll in a given position. How can i do this?

Upvotes: 0

Views: 71

Answers (1)

Raj
Raj

Reputation: 6830

[scrollView setContentOffset:CGPointMake(x, y) animated:YES];

where CGPointMake(x, y) is the point to which you want to scroll :-)

Upvotes: 1

Related Questions