My latest app MicroCRM implements inAppSettings to easily manage the app settings. InAppSettings is all about not duplicating the existing settings view in the iPhone SDK (using Settings.bundle). It allows for a simple call inside your app to open up the settings page as a modal view.

InAppSettings lives over at bitbucket, made by InScopeApps. I chose it over InAppSettingsKit, because it was just that little bit easier to use. As far as I see, they both do almost exactly the same thing. There is a head to head VS here.

The project even comes with an elaborate settings.bundle with all sorts of example settings in it. I just modified this (cutting out heaps).

Installation

  • Dragged the InAppSettings folder into my Xcode project (copying files)
  • Added #import “InAppSettings.h” to my appDelegate
  • Hooked up a button in my app to the below IBAction presentSettings (in Interface Builder)
  • Then modified settings.bundle to contain the settings my app was going to use

Example Code

- (IBAction)presentSettings {
InAppSettingsModalViewController *settings = [[InAppSettingsModalViewController alloc] init];
[self presentModalViewController:settings animated:YES];
[settings release];
}