I am using InAppSettingsKit. https://github.com/futuretap/InAppSettingsKit
I want to make it so the settings panel doesn't show up in settings, because right now it does. Is there any way to do this?
I am using InAppSettingsKit. https://github.com/futuretap/InAppSettingsKit
I want to make it so the settings panel doesn't show up in settings, because right now it does. Is there any way to do this?
NOTE: Starting in iOS 8 all apps will show in the Settings app regardless of what you do.
The project page says To support traditional Settings.app panes, the app must include a Settings.bundle with at least a Root.plist
. So if you are targeting less than iOS 8 or just don't want to allow users access to the settings via the Settings app, than removing the bundled file would be the way to go.
UPDATE:
I believe what you need to do is rename your Settings.bundle file so iOS doesn't pick up on it. The alternative bundle name this library picks up on is InAppSettings.bundle
so try renaming Settings.bundle
to InAppSettings.bundle
.
https://github.com/futuretap/InAppSettingsKit ->
Alternatively, you can create a totally separate bundle named InAppSettings.bundle instead of the usual Settings.bundle. The latter approach is useful if you want to suppress the settings in Settings.app.
You just need to rename your settings bundle to something other than Settings.bundle.
This is from the IASK github readme.
In summary, the plists are searched in this order:
- InAppSettings.bundle/FILE~DEVICE.inApp.plist
- InAppSettings.bundle/FILE.inApp.plist
- InAppSettings.bundle/FILE~DEVICE.plist
- InAppSettings.bundle/FILE.plist
- Settings.bundle/FILE~DEVICE.inApp.plist
- Settings.bundle/FILE.inApp.plist
- Settings.bundle/FILE~DEVICE.plist
- Settings.bundle/FILE.plist
Try using any one of the first 4 and the settings pannel shouldn't end up in the settings app.