Hope that all are fine.

I have 22 UISwitch in a table view and I have created all these switch objects in one function and set them in the table view.

How can I know which switch is on or off? I want to do this through only one action method but I don't know how to do that.

If anyone has faced this problem, please give me ideas...

Thanks,
Haresh.