TableView and UISegmentedControl

Hi I'm trying to insert a UISegmentedControl object inside a cell contained in a table, I wanted to know if there was a way to retrieve the row on which UISegmentedControl is located, I would need to retrieve the selection and the affected row.

It would also be enough for me to read the whole table (obviously if there is also the value of the UISegmentedControl)

a thousand thanks

You can add a tag to the segmented I trop that could be the row index. Then in the segmented control delegate method you can know from which row is the control by looking at its tag value.

TableView and UISegmentedControl
 
 
Q