Adding a button to an iPhone prefs / settings bundle?

前端 未结 3 1398
暗喜
暗喜 2021-01-19 12:16

Just wondering if it\'s possible to add a button like the \"Clear History\", \"Clear Cookies\" etc buttons in the Safari preferences to your own app\'s settings bundle? Bee

相关标签:
3条回答
  • 2021-01-19 12:36

    No, this is not possible. The system only supports interacting with the values from within your app. You can't run code from the settings app so a button would be useless.

    0 讨论(0)
  • 2021-01-19 12:46

    iOSOpenDev, which extends Xcode for iOS jailbreak-style project development, provides project templates that have a check boxes to include either a simple PreferenceLoader (plist-based) or a full PreferenceLoader bundle.

    0 讨论(0)
  • 2021-01-19 12:55

    Nike+iPod is a root application. Anything running under root can run code from basically anywhere (with restrictions, Sandbox is a b**ch) If you're interested you can make a jailbreak preferencebundle with Theos or iOSOpenDev! Which allows you to make a root bundle that can run button action code.

    0 讨论(0)
提交回复
热议问题