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

自闭症网瘾萝莉.ら 提交于 2020-01-24 11:38:04

问题


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.



来源:https://stackoverflow.com/questions/4921890/how-can-i-modify-a-settings-bundle-in-real-time

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!