views:

356

answers:

1

Since hidesAccessoryWhenEditing is depricated in the iPhone 3.0 SDK, what is the replacement? How do you get the same functionality?

+4  A: 

Straight from the docs it seems to suggest:

A Boolean value that determines whether the accessory view is hidden when the cell is being edited. (Deprecated. Use the editingAccessoryType and editingAccessoryView properties instead.)

editingAccessoryType mentions

The default is UITableViewCellAccessoryNone. If a custom accessory view for editing mode is set through the editingAccessoryView property, the value of this property is ignored.

Neil Foley