How can I modify a Settings.bundle in real time?

2019-07-03 23:23发布

问题:

is there anyway to add new entries to the Settings bundle during run time?

We would like to be able to turn-off and on options depending on what information the user have entered. Seems like all Apple documentation talks about modifying preferences, but not the Setings page itself.

thanks!

回答1:

The settings.bundle is read-only. You can NOT modify it during run time.

If you want to be able to change settings during run time, you have include the app settings from within the app.