Deprecated UITableViewDelegate Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in iOS 3.0

tableView:accessoryTypeForRowWithIndexPath:

Asks the delegate for the type of standard accessory view to use as a disclosure control for the specified row. (Deprecated in iOS 3.0. Use the accessory-view and accessory-type properties (for both normal and editing modes) of the UITableViewCell class when configuring table-view cells.)

- (UITableViewCellAccessoryType)tableView:(UITableView *)tableView accessoryTypeForRowWithIndexPath:(NSIndexPath *)indexPath
Parameters
tableView

The table-view object requesting the accessory-view type.

indexPath

An index path locating the row in tableView.

Return Value

A constant identifying a type of standard accessory view. For details, see the "€œConstants” section in UITableViewCell Class Reference.

Availability
  • Available in iOS 2.0 and later.
  • Deprecated in iOS 3.0.
Declared In
UITableView.h