You (data source) tells the table for which cells to display the button in:
Code:
- (UITableViewCellEditingStyle)tableView:(UITableView *)aTableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath
You can find this and other info in the class reference for UITableViewDataSource.