Is there a way to change the height of a UITableView programmatically if you’re using Auto Layout? I have a view controller that has to use Auto Layout. It also contains a UITableView, but the table view doesn’t seem to respond to setFrame calls.
Share
You can define your own constraints programmatically. Refer to Apple’s documentation on NSLayoutConstraint for more information on how to do this.