I want to create a settings page from within my app that looks exactly like the one that I would create in the System Settings Application using a Settings.bundle and Root.plist.
Is there an easy way to access the controls like PSMultiValueSpecifier etc. and add them to an actual View?
Thanks!
Adding the Settings BundleChoose File > New > New File. Under iOS, choose Resource, and then select the Settings Bundle template. Name the file Settings. bundle .
For example, WhatsApp for Android has a very good settings page where they group the items and also display what's inside them. The ideal groups could be 'General, Account, Notifications, Appearance, Privacy, Help & Support, and About.
→ Root. plist : It is iPhone Settings Schema dictionary, which has keys as 'Strings Filename', 'SettingsPageTitle', and most important 'Preference Items' which is an Array type. It accepts only 6 values which are again dictionary types. we can select Toggle Switches, Sliders, Group, TextField, Title and Multi Value.
Here's another solution:
InAppSettingsKit is an open source solution to to easily add in-app settings to your iPhone apps. It uses a hybrid approach by maintaining the Settings.app pane. So the user has the choice where to change the settings...
To support traditional Settings.app panes, the app must include a Settings.bundle with at least a Root.plist to specify the connection of settings UI elements with NSUserDefaults keys. InAppSettingsKit basically just uses the same Settings.bundle to do its work. This means there's no additional work when you want to include a new settings parameter. It just has to be added to the Settings.bundle and it will appear both in-app and in Settings.app. All settings types like text fields, sliders, toggle elements, child views etc. are supported...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With