1

Possible Duplicate:
Best way to refresh/reload UIScrollView

I need to refresh a uiscrollview with page control I have tried with setneeddisplay with no success So how to refresh a uiscrollview ?

Community
  • 1
  • 1
user1669026
  • 51
  • 1
  • 3

1 Answers1

0

If you mean returning to the first image or to top by resetting, you may try:

[_scrollView scrollRectToVisible:CGRectMake(0, 0, _scrollView.frame.size.width, _scrollView.frame.size.height) animated:YES];
Yunus Nedim Mehel
  • 12,089
  • 4
  • 50
  • 56