14

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

enter image description here

Ortwin Gentz
  • 52,648
  • 24
  • 135
  • 213
DarkLeafyGreen
  • 69,338
  • 131
  • 383
  • 601

4 Answers4

17

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.

rene
  • 41,474
  • 78
  • 114
  • 152
gnuchu
  • 1,496
  • 13
  • 21
  • hm what I actually mean is to have this kind of settings straight in my app and not in the iPhone settings – DarkLeafyGreen Mar 17 '11 at 13:37
  • That's what InAppSettingsKit does. It provides an interface in your app to the global settings setup using Settings.bundle. – gnuchu Mar 17 '11 at 13:53
  • 1
    Don't think any of this is relevant anymore since InAppSettingsKit doesn't look to have updated for iOS7. – gnuchu Jun 30 '14 at 10:54
  • Either the link is broken or you'r good at deciphering asian characters.. I can't make anything sensible out of it :-) – lboshuizen Apr 29 '15 at 22:51
  • 1
    As I said almost a year ago, this is no longer relevant. – gnuchu Apr 30 '15 at 07:34
6

IF you want it just in your app, just use a tableView set to Group style. There are a lot of tutorials on TableViews

YOLT
  • 133
  • 2
  • 6
4

You might want to try InAppSettingsKit.

hennes
  • 9,147
  • 4
  • 43
  • 63
3

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

Bruno Wernimont
  • 101
  • 1
  • 4