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

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -