Hey. Tell me how to stretch the UIView (showed how it should be in the picture) enter image description here

  • Where to stretch? In the interface bildere or in? - markov
  • In the application itself. You need to automatically calculate the height of View from the last cell to the bottom of the screen - Lion Gurman

1 answer 1

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.