title: Get current position of UIScrollView
body: <p>I'm coming from Android and i'm getting a lot of headache in IOS. I need to make a scroll menu like a movie credits. I used the code below:</p>
  
  <pre><code>rol = scroll_view.contentOffset.y;
  timer = [NSTimer scheduledTimerWithTimeInterval:.02 target:self selector:@selector(timer_rol) userInfo:nil repeats:YES];
  
  -(void)timer_rol{
      [scroll_view setContentOffset:CGPointMake(0,rol) animated:YES];
  rol++;
  }
  </code></pre>
  
  <p>This code works fine, but when the user interact scrolling up or down, the view return to position before (value of rol). The question is, how can i get the current content position after scrolling</p>
  
  <p>i already tried these codes, but no one works:</p>
  
  <pre><code>CGPoint point = [scroll_view contentOffset];
  rol = r.y  +1;
  
  -(void) handleGesture:(UIGestureRecognizer *) sender{}
  -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {}
  -(void)scrollViewDidScroll:(UIScrollView *)scrollView {}
  </code></pre>
  
  <p>Anyone can help me?</p>