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: