为什么我的iOS应用强制设置捆绑 [英] Why is my iOS app forcing a Settings Bundle

查看:94
本文介绍了为什么我的iOS应用强制设置捆绑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道为什么在调试应用程序时总是有一个设置包.设置页面中的唯一选项是使用移动数据".它在我的iPhone 6 Plus上具有设置捆绑包,但在我的4S上没有.我已经删除了我的应用程序,清理了我的项目,并删除了Organizer中的派生数据.我以前从未在项目中拥有过Settings.bundle.我已经在另一个应用程序中测试了所有库,但不会强制设置捆绑包.两款iPhone均运行iOS 8.2.有什么我想念的吗?是否有任何强制此设置捆绑包的秘密Xcode构建设置或plist设置?

I can not figure out why when I debug my app it always has a Settings Bundle. The only option in the settings page is "Use Cellular Data." It has the Settings Bundle on my iPhone 6 Plus, but not on my 4S. I have deleted my app, cleaned my project, and deleted the derived data in Organizer. I have never had a Settings.bundle in my project before. I've tested all my libraries in another app, it does not force a setting bundle. Both iPhones are running iOS 8.2. Is there anything I'm missing? Is there any secret Xcode build setting or plist setting that's forcing this Settings Bundle?

推荐答案

从iOS 8.0开始,即使该应用没有设置包,也会为所有应用显示设置页面.

As of iOS 8.0, a settings page is shown for all apps even if the app doesn't have a settings bundle.

如果该应用执行以下任何操作,则显示iOS 8设置页面,其中没有设置捆绑包:

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

      如果尚未满足这些条件,则可能不会显示应用程序的设置页面.

      A settings page may not appear for an app if none of these conditions have yet been met.

      这篇关于为什么我的iOS应用强制设置捆绑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆