I have a view Controller that contains filter_View
and a tableView_Players
When I press the button "Filter la recherche"
I want the Filter_View to expand this way
and results moving the tableview down
How to do that ? thanks in advance :)
If you are using AutoLayout, do following :
1) set vertical spacing from tableView to filterView.
2) set Height Constraint of filterView and set its outlet.
3) Initially that height constraint e.g. heightOfFilterview.constant = x
4) While clicking filter la button set heightOfFilterView.constant = y (Whatever you want).