Pablo
Pablo

Reputation: 29519

iPhone UI controls

Which class is used to create the clickable sections(with > arrow) and the checkbox list on last shot?

alt text http://developer.apple.com/iphone/library/documentation/uikit/reference/UINavigationController_Class/Art/navigation_interface.jpg

Upvotes: 0

Views: 523

Answers (2)

kennytm
kennytm

Reputation: 523184

UITableView (UITableViewController).

The checkmarks and arrows are added by changing the .accessoryType property of the cell. To make the table views clickable, implement the -tableView:didSelectRowAtIndexPath: method in the delegate.

Upvotes: 0

Krumelur
Krumelur

Reputation: 32497

Have a look at the UINavigationController.

To create the list with arrows, use the UITableView and set the Accessory "Disclosure indicator" on the cell (in the Interface builder).

The screenshot is from the Settings application though. If you want to create subpanels for settings, you need to use a different approach (Here is one example)

Upvotes: 3

Related Questions