Reputation: 347
I took UIViewController which have 2 UITableView.
How to use the method scrollViewDidloadScroll:(UIScrollView *)scrollView
to do stretches to the Top Layout Guide?
Project on Objective C.
Upvotes: 2
Views: 361
Reputation: 86
We can do it using tags. Need assign tag to tableview object,
-(void)scrollViewDidScroll:(UIScrollView *)scrollView{
//Need to give tag value to table view
if(scrollView.tag == 100){
//table1
}else if(scrollView.tag == 101){
//table2
}}
Hope this will hep you
Upvotes: 1