问题
I am really new to iPhone development. Currentlly I am setting up an option module for my application. The user should be able to edit some preferences.
My first approach was to have some text fields. But I really like how iOS handles editing preferences. There is some kind of label. Clicking on that label opens another view with a field for editing. I hope you understand what I mean.
How does iOS achieve this? Is that table view?
I mean this kind of design
回答1:
InAppSettingsKit as already recommended by @hennes is used for extending functionality that is already available.
If you add a Settings.bundle to your app then if it is correctly installed it will automatically show up in the Settings.app provided by Apple.
回答2:
IF you want it just in your app, just use a tableView set to Group style. There are a lot of tutorials on TableViews
回答3:
You might want to try InAppSettingsKit.
回答4:
There is another option, you can use BaseKit (I'm the author)
Source repo https://github.com/brunow/BaseKit Example of settings http://blog.brunowernimont.be/2012/06/22/example_of_settings_controller_with_basekit.html
来源:https://stackoverflow.com/questions/5338390/how-to-build-an-ios-like-settings-module