I’m trying to set a Table View Cell that has been grouped, as a button however I can’t seem to find where to do it in the interface builder in XCode 4.2 or programmatically.
I’ve tried linking the table view cell to an IBAction, however it only lets me create or link to an IBOutlet.
As a temporary fix I have embedded a rectangle button in the cell, but this doesn’t highlight blue when pressed.
I’ve seen this work in several apps, an example is the Clear History and Clear Cookies and Data buttons in the Safari app below:

Imagine that your IBAction is like this:
Then, you should do this in your delegate:
To check if your cell was pressed, you have several ways, for example, if you know the row of your button in the table:
Or you can put a tag in your cell and then check if is that one:
When creating the cell:
And in didSelectRowAtIndexPath: