How to find which table is scrolled with multiple UITableViews on UIScrollView
<p>I have around 13 UITableViews on UIScrollview,scrollview scrolls horizontally and shows all uitableviews.</p>

<p>on each scroll I want to scroll to particular point and i did that using the code </p>

<pre><code>- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView{
if(position &gt;= 12)
    position=-1;

position++;

[self scrollToPosition:position];
}
-(void)scrollToPosition:(int) tempPos{
 [scrollView setContentOffset:CGPointMake(635*tempPos+tempPos*5, 0)];
}
</code></pre>

<p>Problem is: How can I detect whether I scrolled to left or right ??<br>
as per my code whatever direction of the scroll it'll just increase contentOffset, But I want to  achieve left scroll as well as right scroll along with setting particular contentOffset to each scroll.</p>

<p>Also, If i scroll any of my  uitableViews vertically,  then these delegates will get called and set the contentOffset so that it'll scorll horizontally...! so that I cant see the content of the table I scrolled.</p>

<p>I want to scroll horizontally to show each uitableViews(by setting some contentOffset) also I want to achieve verticle scrolling of each table individually.
and How to find which table is currently scrolling with multiple UITableViews on UIScrollView ??</p>

<p>any  problem with my code ?? how to achieve this ??
Thanks,
Ranganatha</p>
