Is "setting" UI implemented by table view in iphone/touch/ipad?
I want my app's setting UI feel consistent with iphone's internal setting UI. It looks like it's implemented by a table view with sections to group the setting items together. Am I correct?
refer to: http://i.stack.imgur.com/XNVyO.png
Is it implemented by a table view with hard coded cells and sections or is it build by interface builder? If it is built b开发者_如何学编程y IB, how to design the sections?
thanks
-Leo
you might want to look at something like InAppSettingsKit, an open source framework that duplicates the settings app feel in your application.
if you want to create it yourself you'd just set the ui table view style to UITableViewStyleGrouped
Read up about how UITableView Work, You will need a UITableViewDataSource. The datasource tells the table how many sections and cells there are in the table view. Then the UITableViewDelegate will handle any selecte rows: http://developer.apple.com/library/mac/#documentation/cocoa/Conceptual/TableView/TableView.html
精彩评论