Altura dinámica de la vista de tabla sin desplazarse
//how to set low priority height for table view "search keyword"
override func updateViewConstraints() {
tableHeightConstraint.constant = tableView.contentSize.height
super.updateViewConstraints()
}
Tayyab Mubeen