I am creating an application in which I try to scroll a page using scrollviewcontroller through screens, and the top nav headers scroll in real time with headers. I have a header view as a user view, and I can access the scroll delegate methods as for a custom scroll views, and for the pageview controller. However. I don’t see how to access the scroll position in real time? I know that this is possible because twitter does this (in fact, it cannot be in any vocabulary), but I'm not sure how to achieve this.
picture 
the home title scrolls in the same scroll list as in pagecontrollers.
:
- (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView {
if(scrollView.tag == 100) {
CGPoint point = CGPointMake(mainScrollView.contentOffset.x * 1,0);
[titleSwipe setContentOffset:point animated:YES];
}
else {
mainScrollView.contentOffset = CGPointMake(0,1);
[mainScrollView setContentOffset:titleSwipe.contentOffset animated:YES];
}
}
- (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate: (BOOL)decelerate {
CGPoint point = CGPointMake(mainScrollView.contentOffset.x * 2,0);
[titleSwipe setContentOffset:point animated:YES];
}