How to intercept UIScrollView contentOffset changes from UITableView subclass?
- by mystify
Actually, a UITableView is a UIScrollView (inherits from that). Now, I made a UITableView subclass and added this line of code to it:
- (void)scrollViewDidScroll:(UIScrollView *)scrollView {
NSLog(@"contentOffset: %@", NSStringFromCGPoint(self.contentOffset));
}
For some reason this is never called when I scroll the table view. But since…