ios - Scroll second UITableView in line with second UITableView -


i have 2 table views set side side, , need them scroll @ same time. so, when scroll one, other 1 scroll @ same time.

i did searching , couldn't find information, assume must possible somehow.

my table views both connected same class , differentiate between them this:

if tableview == tableview1 {     // } else if tableview = tableview2 {     // } 

you can set scrollview delegate self on both of tableview's scrollviews. , in -scrollviewdidscroll, take contentoffset , set other scrollview's contentoffset same value.


Popular posts from this blog

javascript - Js, document.getElementById("ID").innerHTML, error -

jquery - jqGrid update specific column data with out refreshing the entire column? -

objective c - Is there a way in OCMockito to make stubs fail when an unknown method is called? -