I am new in Swift and I am unable to access the height of inside UITableviewCell in main UITableviewCell.
In my main tableviewcell my code in cellforrowatindexpath my code is like this:
cell.constraintHeightOfTblView.constant = CGFloat(135 * (cell.arrCourses.count))
I created the height constraint of inside tableview and I am multiplying it based on the count of array. It works. But if the data in cell increase it is not getting the height proper because I define here static height.
So I want the inside tableviewcell height so it could work proper. Can I access it?
I want to achieve this:
But I am getting this as the content of insidetableviewcell is increased
Inside tableviewcell is scrolling I do not want the inside tableview cell to scroll differently.


