is there anything more comfortable than this to detect a “special” page? The page should be fully visible.
- (void)scrollViewDidScroll:(UIScrollView *)sender
{
if(scrollView.contentOffset.x == self.view.frame.size.width * 2) {
NSLog(@"Special page");
} else {
NSLog(@"Normal page");
}
}
Here’s a sample project I recently created regarding this.
Hope this helps. 🙂