Resize UITableView Height with Auto Layout

Since the introduction of Auto Layout in Xcode, resizing UITableViews or UIViews has changed from updating the frame to updating the constraint. With Auto Layout turned off, the way you would resize a UITableView would be to adjust its frame. CGRect tableFrame = self.tableView.frame; tableFrame.size.height = 200; self.tableView.frame = tableFrame; With Auto Layout turned on, […]