Disable specific settings dynamically
-
27-10-2019 - |
Question
I am developing an iPhone app which uses Settings.bundle
to let the user choose some options.
I have two questions regarding this:
- How can I completely remove/hide some setting? (for instance if the app is running on iPhone 3G I want to hide settings regarding the compass)
- How can I disable (fade) a setting? (for instance, I have two Toggle Switches and if the first is set to OFF the second one has no meaning and should be disabled)
Solution
You can't. Your app cannot dynamically influence what is shown in the Settings app.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow