Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

dynamic table view height without scrolling

//how to set low priority height for table view "search keyword"
override func updateViewConstraints() {
    tableHeightConstraint.constant = tableView.contentSize.height
    super.updateViewConstraints()
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dynamic #table #view #height #scrolling
ADD COMMENT
Topic
Name
1+3 =