Botón personalizado UITableViewRowAction
Quiero establecer la restricción superior e inferior para el botón uitableviewrowaction
Aquí está mi código
- (NSArray *)tableView:(UITableView *)tableView editActionsForRowAtIndexPath:(NSIndexPath *)indexPath {
UITableViewRowAction *deleteAction = [UITableViewRowAction rowActionWithStyle:UITableViewRowActionStyleDestructive title:@"Delete" handler:^(UITableViewRowAction *action, NSIndexPath *indexPath){
}];
deleteAction.backgroundColor = [UIColor redColor];
return @[deleteAction];
}
Como este, he agregado el botón Eliminar. EntableviewCell
He añadido unoUIView
Tiene restricciones superiores e inferiores. Quiero que el botón Eliminar coincida con mi vista enUITableviewCell
.