iPhone Settings.bundle - 如何禁用/启用基于其他设置的设置?

发布于 2024-09-17 20:39:11 字数 123 浏览 4 评论 0原文

很难解释,但幸运的是有一个例子。在 iPhone 上,当您转到“设置”>“ Nike + iPod,在应用程序的设置中,当您将 Nike+iPod 设置为关闭时,它将禁用其余设置。我该怎么做?使用一项设置来禁用或关闭另一设置?

Hard to explain, but luckily there's an example. On an iPhone, when you go to Settings > Nike + iPod, in the app's settings, when you set Nike+iPod to off, it disables the rest of the settings. How do I do that? Use one setting to disable or toggle off another setting?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

流绪微梦 2024-09-24 20:39:11

对于 AppStore 应用程序,不,你不能这样做,就这样。


详细信息:Nike+iPod 使用一种称为“Preferences Bundle”的不同机制,它允许更多种类的说明符(例如按钮)和运行代码。要实时禁用设置,需要代码。 AppStore允许的“Settings Bundle”无法运行代码。所以这是不可能的。

For AppStore apps, no you can't do that, period.


Detail: Nike+iPod is using a different mechanism known as "Preferences Bundle", which allows more kinds of specifiers (e.g. buttons) and running code. To disable settings live, one need codes. "Settings Bundle" which AppStore allows cannot run code. So that cannot be done.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文