Question : dynamic table view height without scrolling
Answered by : tayyab-mubeen
//how to set low priority height for table view "search keyword"
override func updateViewConstraints() { tableHeightConstraint.constant = tableView.contentSize.height super.updateViewConstraints()
}
Source : https://stackoverflow.com/questions/33268463/set-uitableviews-height-to-the-height-of-its-content-with-auto-layout | Last Update : Sun, 17 Apr 22