The app settings
The DeploymentKitApp comes with a Settings bundle that is a duplicate of the default Settings bundle in the Spotfire for Apple iOS app.
Allowed | Restricted |
---|---|
You can customize the app behavior using the file MyConfiguration. See Customize app behavior for more information. | You cannot define settings the app uses because the collection of app settings is defined and controlled by the app code. |
You can add new settings that you refer to in the customization of the app behavior. | You cannot change the app code. |
You can modify the titles, default values, and possible values of the settings as they appear in the Settings app. | Do not change the setting control default type, except for changing the title to read-only. |
You can make settings read-only for users of the app. | You cannot add new settings or values. |
You can remove settings. |
Much like string and image resources, settings have unique key names that you can use in the app to override the default values of the same setting key name defined in SpotfireFramework.xcframework.
The app project hierarchy contains the folder Settings. This folder contains localized settings bundles. In a settings bundle, use the file Root.plist to change the title, the default value, and possible choices for an application setting. You can also use Root.plist to make a setting read-only so users cannot change it.
The settings bundle also contains the file Root.strings, which you can use to customize the settings titles for values in settings that appear in the iOS Settings app.
- Changing the titles of values in Settings
The property list specifies the settings for the app; however, you can override the values in the localized settings bundle . - Making settings read-only
You can make a setting visible but read-only, so users cannot change it. - Remove settings
You can remove app settings without causing problems with the app. - Localizing the app settings
All settings displayed in the app are already localized to English, French, German, and Spanish. - Customizing the list of settings that are displayed in the app Settings view
You can change the list of Settings items that appear in the app Settings view by modifying a list of settings key names
- Changing the titles of values in Settings
The property list specifies the settings for the app; however, you can override the values in the localized settings bundle . - Making settings read-only
You can make a setting visible but read-only, so users cannot change it. - Remove settings
You can remove app settings without causing problems with the app. - Localizing the app settings
All settings displayed in the app are already localized to English, French, German, and Spanish. - Customizing the list of settings that are displayed in the app Settings view
You can change the list of Settings items that appear in the app Settings view by modifying a list of settings key names