I want to change DELETE button in UITableViewCell. Actually, I need to :
- Change position of button
- font
- text color of that button.
Here I can only change button text in following delegate method :
- (NSArray<UITableViewRowAction *> *)tableView:(UITableView *)tableView editActionsForRowAtIndexPath:(NSIndexPath *)indexPath
{
UITableViewRowAction *viewAction = [UITableViewRowAction rowActionWithStyle:UITableViewRowActionStyleDefault title:@"Follow" handler:^(UITableViewRowAction *action, NSIndexPath *indexPath) {
NSLog(@"View Action fired");
}];
viewAction.backgroundColor = [UIColor clearColor];
return @[callAction];
}
But how to change other attributes of button. If anyone knows, please let me know.
Thanks.