Dynamische Tabellenansichtshöhe ohne Scrollen

//how to set low priority height for table view "search keyword"
override func updateViewConstraints() {
    tableHeightConstraint.constant = tableView.contentSize.height
    super.updateViewConstraints()
}
Tayyab Mubeen