I want to create a view like this. For that I took one view. Inside it, label(Specification) and then for data of specification I took one tableView. Data for specification could be 2,5,7 anything. Means I am getting array of specification, which could have any no. of elements. Now I want to set height of this view according to height of tableView and after this specification block I have another block which has y position according to specification view. How can I do this?
This is the image of output what I am getting. I don't want this scroll in tableView, instead of that I want it show with its maximum height in view.