You cannot change the position of your own delete button. In the place where the default delete button uses a custom button, make them hide. Press the edit button to display them. To create a button, use this formate, it will solve your problem, write this code in the cellforrowAtindexPath method.
UIButton*Delete_btn = [UIButton buttonWithType:UIButtonTypeCustom]; [Delete_btn addTarget:self action:@selector(Delete:) forControlEvents:UIControlEventTouchUpInside]; Delete_btn.frame = CGRectMake(05, 10, 56, 56); [Delete_btn setBackgroundImage:[UIImage imageNamed:@"delete_btn.png"] forState:UIControlStateNormal]; [cell.contentView addSubview:Delete_btn];
source share