- (void)scrollViewDidScroll:(UIScrollView*)scrollView{
if([scrollViewisEqual:self.l_rightTab]) {
CGPoint d = CGPointMake(scrollView.contentOffset.x, scrollView.contentOffset.y);//;
NSIndexPath *indexPath = [self.l_rightTab indexPathForRowAtPoint:d];
NSLog(@"%ld",indexPath.section);
}
}
网友评论