从 iPhone 设置中删除应用程序
Remove App From iPhone Settings
我目前有一个 iOS 应用程序,它不需要或在设备的内置 设置 应用程序中没有任何用户设置或系统设置。
我想知道如何从 iPhone 的“设置”部分以编程方式删除应用程序(或在下载时停止添加应用程序)?我研究了很多讨论编辑、创建和管理 Xcode 提供的 Settings.bundle 功能的 threads/blogs,但 none 真正涵盖了 如何[=18] =] 以完全删除应用程序,使其不被添加到设置中。任何建议表示赞赏。谢谢!
对于 在 iOS 8 之前:
您需要将 Settings.bundle 一起删除。然后在删除 Settings.bundle 之后清理目标,然后删除 Root.plist
有关详细信息,请查看此对话:How to Delete settings.bundle
来自Apple Docs:
A Settings bundle has the name Settings.bundle and resides in the top-level directory of your app’s bundle. This bundle contains one or more Settings page files that describe the individual pages of preferences. It may also include other support files needed to display your preferences, such as images or localized strings.
对于 iOS 8 和 根据 to :
As of iOS 8.0, a settings page is shown for all apps even if the app doesn't have a settings bundle.
The iOS 8 settings page appears without a settings bundle if the app does any of the following:
Attempts to access data via a cellular network
Various privacy data
Camera
Microphone
Photo library
Contacts
Location
Notifications
Background data fetch
A settings page may not appear for an app if none of these conditions have yet been met.
我目前有一个 iOS 应用程序,它不需要或在设备的内置 设置 应用程序中没有任何用户设置或系统设置。
我想知道如何从 iPhone 的“设置”部分以编程方式删除应用程序(或在下载时停止添加应用程序)?我研究了很多讨论编辑、创建和管理 Xcode 提供的 Settings.bundle 功能的 threads/blogs,但 none 真正涵盖了 如何[=18] =] 以完全删除应用程序,使其不被添加到设置中。任何建议表示赞赏。谢谢!
对于 在 iOS 8 之前:
您需要将 Settings.bundle 一起删除。然后在删除 Settings.bundle 之后清理目标,然后删除 Root.plist
有关详细信息,请查看此对话:How to Delete settings.bundle
来自Apple Docs:
A Settings bundle has the name Settings.bundle and resides in the top-level directory of your app’s bundle. This bundle contains one or more Settings page files that describe the individual pages of preferences. It may also include other support files needed to display your preferences, such as images or localized strings.
对于 iOS 8 和 根据
As of iOS 8.0, a settings page is shown for all apps even if the app doesn't have a settings bundle.
The iOS 8 settings page appears without a settings bundle if the app does any of the following:
Attempts to access data via a cellular network Various privacy data Camera Microphone Photo library Contacts Location Notifications Background data fetch A settings page may not appear for an app if none of these conditions have yet been met.