开发者

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


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)


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜