0

I have an UITableView which contains an UIView subview and the cells.

My problem is when I want to change the height frame of the subview in table, the cells are not displayed from the end of it(UIView) after resize. The cell will be shown from the storyboard position.

Here's how I change the frame:

var rct =  infoView.frame
rct.size.height = cantainerView.frame.minY + viewStatus.frame.maxY + 16
infoView.frame = rct
infoView.backgroundColor = UIColor.green
self.tableView.backgroundColor = UIColor.blue

That are two pictures to understand my problem:

enter image description here

enter image description here

Gaby Fitcal
  • 1,814
  • 1
  • 17
  • 28

0 Answers0