Several of the Apple-provided apps have informational/help text in their settings. For example, the Keyboard settings screen includes, under the “.” shortcut toggle, the help text "Double tapping the space bar will...".
I know I can do this in my app by adding a group footer, but is it possible to do this in the settings app by adding a field to the plist file in my Settings.bundle?
Adding the Settings BundleChoose File > New > New File. Under iOS, choose Resource, and then select the Settings Bundle template. Name the file Settings. bundle .
Start a new Single view application project in Xcode called SettingsBundleDemo using Swift and a Universal device. Right-click on the SettingsBundleDemo group folder and select New file. Select the Resources category in the template window. Select Settings Bundle and click Next.
In the Settings app , you can search for iPhone settings you want to change, such as your passcode, notification sounds, and more. Tap Settings on the Home Screen (or in the App Library). Swipe down to reveal the search field, enter a term—“iCloud,” for example—then tap a setting.
According to recently changed Apple document, a FooterText key is available in PSGroupSpecifier dictionary, which is only available in iOS 4.0 or later.
Reference: https://developer.apple.com/library/content/documentation/PreferenceSettings/Conceptual/SettingsApplicationSchemaReference/Articles/PSGroupSpecifier.html
The way I do it, and the way I have seen other third parties apps do it is just to use an informative Title as a PSGroupSpecifier
I have only seen the native Apple apps do it in this other, slightly nicer way. I expect the ability is buried deep in the undocumented regions of the SDK.
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