UISwitch *switchview = [[UISwitch alloc] initWithFrame:CGRectZero];
[switchview addTarget:self action:@selector(openOrCloseMusic:) forControlEvents:UIControlEventValueChanged];
cell.accessoryView = switchview;
switchview=nil;
UISwitch *switchview = [[UISwitch alloc] initWithFrame:CGRectZero];
[switchview addTarget:self action:@selector(openOrCloseMusic:) forControlEvents:UIControlEventValueChanged];
cell.accessoryView = switchview;
switchview=nil;