Reputation: 251
My tableView isn't fullscreen or set with static height. It needs to change tableView's cell height after data is returned from server. So how can I layout my tableView with masonry ?
Upvotes: 0
Views: 255
Reputation: 15
You should add a layout about tableView's height. When you get a newest height and then change layout's constant. In your code, you can call layoutSubviews
in tableview owner after finishing network loading.
Upvotes: 0