_tableView = [[UITableView alloc] init]; _tableView.delegate = self; _tableView.dataSource = self;
_tableView.frame = CGRectMake(kZero, 66, kScreenW, kScreenH - 66 - 70);
// Set the list to transparent background. uiimage * image = [musicmanager createimagewithcolor: [uicolor clearcolor]; _ tableview. backgroundview = [[uiimageview alloc] initwithimage: Image]; _ tableview. backgroundcolor = [uicolor clearcolor];
# Pragma mark proxy method for setting uitableview background-(void) tableview :( uitableview *) tableview willdisplaycell :( uitableviewcell *) cell forrowatindexpath :( nsindexpath *) indexpath {[Cell setbackgroundcolor: [uicolor clearcolor];}
# Trigger when Pragma mark clicks the delete button on the left of the cell-(nsstring *) tableview :( uitableview *) tableview titlefordeleteconfirmationbuttonforrowatindexpath :( nsindexpath *) indexpath {// obtain the currently deleted cell uitableviewcell * cell = [tableview cellforrowatindexpath: indexpath]; // obtain all the child controls of the cell nsarray * labelarray = cell. contentview. subviews; For (uiimageview * view in labelarray) {If (view. tag = 3) {// the picture to the right cgrect temp = view. frame; temp. origin. X = 255; view. frame = temp;} return @ "delete ";}