Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
122 views
in Technique[技术] by (71.8m points)

settings.bundle - Why is my iOS app forcing a Settings Bundle

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...