Manage height when tableview cell contain another tableview inside:-
Step1:- Create a height constraint with any value for child tableView and connect an IBOutlet that sets the child tableView height.
Step12:- Set the height constraint's constant to tableView.contentSize.height.
self.tableViewHeight.constant = self.tableView.contentsize.height
No comments:
Post a Comment