Eric Brotto Eric Brotto - 2 years ago 141
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 Source

Just set the respective accessoryType property of UITableViewCell.

cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;

For more available cell accessory types see the doc.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download