【问题标题】:How to disable the fields in settings in iphone based on other setting?如何根据其他设置禁用iphone设置中的字段?
【发布时间】:2010-10-06 04:54:53
【问题描述】:

在 iPhone 上,当您转到设置 > Nike + iPod 时,在应用程序的设置中,当您将 Nike+iPod 设置为关闭时,它会禁用其余设置。我怎么做? 如何根据在 ToggleSwitchSpecifier 中选择的值禁用其他设置? 我们可以使用 Setting.Bundle 来实现吗?还是我们必须使用preference.Bundle? 我们可以为此使用 Preference.Bundle 吗?如果是,怎么做?

把preference.Bundle相关的文件发给我。

【问题讨论】:

    标签: iphone cocoa-touch uikit


    【解决方案1】:

    Preference.Bundle 不适用于 AppStore 应用程序,您只能将其用于基于越狱的应用程序。

    此外,Preference.Bundle 是获得您正在寻找的此功能的唯一方法,因为只有这样您才能运行代码。有关详细信息,请参阅此博客文章:http://www.skylarcantu.com/blog/2009/08/12/creating-a-preferencebundle-for-the-iphone/

    【讨论】:

      猜你喜欢
      • 2023-04-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-06-27
      • 2022-11-14
      • 1970-01-01
      • 2019-07-13
      • 1970-01-01
      相关资源
      最近更新 更多