我有一个UITableViewCell与UISwitch作为accessoryView的每一个细胞.当我更改单元格中交换机的值时,如何知道交换机在哪一行?我需要切换值更改事件中的行号.
UITableViewCell
UISwitch
iphone uitableview uiswitch ios
ios ×1
iphone ×1
uiswitch ×1
uitableview ×1