Andrei  Trotsko Andrei Trotsko - 1 year ago 116
iOS Question

UITableView height change when scrolling with animation

I took ViewController which have 2 uitableView. How to use the method

scrollViewDidloadScroll:(UIScrollView *)scrollView
to do stretches to the Top Layout Guide?
Project on Objectiv C.

enter image description here

Answer Source

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){
}else if(scrollView.tag == 100){

Hope this will hep you

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download