title: How would I go about disabling a UIButton if the UIScrollView has scrolled more than a certain amount?
body: <p>How would I go about disabling a UIButton if the UIScrollView has scrolled more than a certain amount?</p>
  
  <p>this is what I've been trying. Perhaps it's the wrong scrollViewDidScroll: delegate method. </p>
  
  <pre><code>- (void)scrollViewDidScroll:(UIScrollView *)scrollView {
  
      if (_scrollView.contentOffset.y &gt;= 100)       {
  
          mapLaunchButton.enabled = NO;
      }
  }
  </code></pre>
  
  <p>thanks for any help</p>