Objective C: Stopping the Scrollview When The A New Page Enters
i am trying to stop the scrollview from scrolling when entering the 6th page, is it possible??

i tried this code:

    if (scrollView.contentOffset == CGPointMake(5376,0))
       {
          scrollView.scrollEnabled = NO;
       }

but it's an error.
Objective C: Stopping the Scrollview When The A New Page Enters
===

i am trying to stop the scrollview from scrolling when entering the 6th page, is it possible??

i tried this code:

    if (scrollView.contentOffset == CGPointMake(5376,0))
       {
          scrollView.scrollEnabled = NO;
       }

but it's an error.