Hey. Tell me how to stretch the UIView (showed how it should be in the picture) 
1 answer
If you understand the question correctly, then UIView must be tied (autolayout by the constraints) on the left / right / bottom to the superview. Top - bind to UITableView . The same table needs to be set to the height height and associate it with the outlet. In the code, after reloading the table, set the height (via this outlet) to the height of the cell * number of cells . Although I am not sure that this is the best solution, it is rather simple in terms of implementation.
|