UITableView Delete button

I want to replace the default delete buttons in editing style of UITableView with my own buttons. how to do it?

 -(NSString *)tableView:(UITableView *)tableView titleForDeleteConfirmationButtonForRowAtIndexPath:
(NSIndexPath *)indexPath 
{
return @"title!";
}

this edits title of button .What about changing the color of button.. can anyone help me out

Answers


go to this link i think it will help you

http://thesdkblog.com/2011/04/add-a-custom-image-on-a-uitableviewcell-delete-button/


We can customize the default delete button in UITableView.But as per the IOS Human Interface guidelines your app may rejected by the apple if ur try to change that one. You can refer http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/Introduction/Introduction.html


Need Your Help

Sphinx - How to escape user input for SphinxQL?

php sphinx sphinxql

I have website where users can search posts by entering keywords,