Eric Brotto Eric Brotto - 2 months ago 13
Objective-C Question

Adding the little arrow to the right side of a cell in an iPhone TableView Cell

This should be simple enough.

I have an iPhone app with a TableView. How do I add the little classic arrow to the righthand side of each cell?


Just set the respective accessoryType property of UITableViewCell.

cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;

For more available cell accessory types see the doc.