gpt4 book ai didi

iphone - 使用私有(private) api 启动设置应用程序

转载 作者:行者123 更新时间:2023-12-01 19:15:53 25 4
gpt4 key购买 nike

自从使用 prefs:// 打开 Settings.app URL 在 iOS 5.1+ 中不再有效,我想知道是否可以使用私有(private) API 启动设置?
注意:不适用于应用商店。

最佳答案

使用私有(private) API
GitHub项目iOS-Runtime-Headers

Here are iOS Objective-C headers as derived from runtime introspection.

The headers were generated using RuntimeBrowser for iPhone.


对设置应用程序特别感兴趣,请查看 Preferences.Framework .
我从来没有直接使用过这个,但似乎还有其他关于这个主题的问题:
  • iOS Private API Documentation
  • Does anybody know how I can find the the headers for IOS5 Iphones/ipod. Jailbreak development
  • Get a screenshot while App is in background? (Private APIs allowed)
  • More...

  • 使用 URL
    根据 this answer on SO ,无法再使用 手动启动设置应用程序网址 .

    Asked Apple through my developer account if there is a way to programmatically launch the WiFi Settings dialog. Here is the response:

    "Our engineers have reviewed your request and have concluded that there is no supported way to achieve the desired functionality given the currently shipping system configurations."



    但是,如果您使用的是 native Twitter 或 Facebook SDK,则会出现一个对话框,询问用户是否登录。更多信息来自 this SO question ,下面的示例图像。
    No Facebook Account - Settings example

    关于iphone - 使用私有(private) api 启动设置应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13389448/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com