如何实时修改Settings.bundle? [英] How can I modify a Settings.bundle in real time?

查看:167
本文介绍了如何实时修改Settings.bundle?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否在运行时将新条目添加到设置"捆绑包中?

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

我们希望能够根据用户输入的信息来关闭和打开选项.似乎所有Apple文档都在谈论修改首选项,但不是设置"页面本身.

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.

谢谢!

推荐答案

settings.bundle是只读的.您无法在运行时对其进行修改.

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.

这篇关于如何实时修改Settings.bundle?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆