Tony
Tony

Reputation: 11

How do you create application preferences page?

I see some application that uses the settings bundle for their app. Example: http://knol.google.com/k/usman-ismail/iphone-sdk-application-preferences#. I was wondering how to do that without it appearing at the user main settings. I see some application managed to do that. Is there any tutorial around?

Upvotes: 1

Views: 974

Answers (2)

spacebiker
spacebiker

Reputation: 3875

I recommend you this open source application http://www.inappsettingskit.com/.

InAppSettingsKit is an open source solution to to easily add in-app settings to your iPhone apps. It uses a hybrid approach by maintaining the Settings.app pane. So the user has the choice where to change the settings.

Upvotes: 1

user189804
user189804

Reputation:

Either you follow the tutorial and the preferences appear in system preferences along with all the other apps, or you roll your own and open a preferences screen from within your application. You can choose either but don't ever do both, it is just confusing. To get the look and feel of the system prefs inside your app you would need to do custom UITableViewCells, which luckily is easy - see this page of the Table View Programming Guide for how to do custom cells in a UITableView loaded through one of your view controllers. The nice part is that you can do it all from within Interface Builder if that's what you're used to.

Upvotes: 0

Related Questions