How to use tableview inside tableview cell

Tableview contain 1 textfield where I can search product from Server, that time it shows list in tableview when I select on list it should save in same row in beneath of textfield.

I want to show tableview list on particular cell where I searched term in textfield it shows in particular cell. after that I want to save selected value in particular cell.

You can see in below screenshot when I search in first textfield it shows in second textfield of UITableview cell.

Maybe it's a bit too late to respond here, but I think that showing a table view inside a table view cell it's not a good idea.

I've don't understand your scenario or why you want to do that, but there are surely a lot of other ways that leads to a better UI/UX

How to use tableview inside tableview cell
 
 
Q