Access delete button on tableview

9 views
Skip to first unread message

William Frowine, PMP

unread,
Jun 5, 2012, 5:11:27 PM6/5/12
to pdx-cocoa...@googlegroups.com
Hello All:

So I just changed the color of my tableview however when i am in the editing mode and delete a row the color of the delete button is the same as the tableview. Does anyone know how to access the delete button on a standard tableview.

I am thinking that it may be something like:
self.tableView.deleteButton.backgroundColor = [UIColor whiteColor];

Thanks in adavance.

Cody Garvin

unread,
Jun 5, 2012, 5:57:57 PM6/5/12
to pdx-cocoa...@googlegroups.com
Hi Bill,

It's going to be in the tableViewCell vs the tableView. 

Most likely it's a subview you'd have to fish out from the tableviewcell's view (or contentview). 

Your best bet is to add your own delete button to the cell. Either through subclass or at the time it's created.

- Cody

William Frowine, PMP

unread,
Jun 5, 2012, 6:00:30 PM6/5/12
to pdx-cocoa...@googlegroups.com
Thanks Cody.  
Reply all
Reply to author
Forward
0 new messages