Eric Brotto Eric Brotto - 27 days ago 8
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?

Answer

Just set the respective accessoryType property of UITableViewCell.

cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;

For more available cell accessory types see the doc.

Comments