I followed UISwitch in a UITableView cell to put a UISwitch inside a tableview. Here is the code:
UISwitch *mySwitch = [[UISwitch alloc] init];
cell.accessoryView = mySwitch;
But the problem is that when I put the table into editing mode:
self.tableView.editing = YES;
The UISwitch dissapears.
Do you know how can I go around this issue?