For my iPhone app I'm working on, i want to have the ability to dynamically add or remove sections to the settings area for my app. ideally I'd like to be able to alter the list of options in a multi-value specifier, and also to add new rows that drilldown into copies of one settings page. I haven't seen anything in the apple documentation on this, but is it possible to alter the settings schema at all after compiling?
Asked
Active
Viewed 2,035 times
2 Answers
5
As far as I know, you cannot do this through the SDK, because the application settings schema is based on a plist that is deployed at install time, and your application will not have access to that file at runtime, because of the sandbox.
As many people have noted, the Settings app really stops being useful for anything more than trivial settings. I would suggest adding a preferences section inside your application. But of course I'm not telling you anything useful. =)

Sergio Acosta
- 11,418
- 12
- 62
- 91
-
If that's true, that's disappointing :(. Thanks for the response! – Kevlar Mar 31 '09 at 18:37
-
I think you can technically symlink the plist to your application's Documents directory, but I wouldn't count on Apple accepting any application that does this – rpetrich Mar 31 '09 at 23:18