Created
April 5, 2018 21:52
-
-
Save kobeumut/27ed26f8332e513fe5a5670178b1650f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override func viewDidAppear(_ animated: Bool) { | |
var frame = tableView.frame | |
frame.size.height = tableView.contentSize.height | |
tableView.frame = frame | |
tableviewHeightConstraint.constant = tableView.contentSize.height | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment