Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to add info or help text to an iPhone settings bundle?

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?

like image 569
Frank Szczerba Avatar asked Apr 29 '09 19:04

Frank Szczerba


People also ask

How Use iOS bundle settings?

Adding the Settings BundleChoose File > New > New File. Under iOS, choose Resource, and then select the Settings Bundle template. Name the file Settings. bundle .

How do I use Swift bundle settings?

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.

What are my iOS settings?

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.


Video Answer


2 Answers

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

like image 179
Yang LIU Avatar answered Sep 22 '22 03:09

Yang LIU


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.

like image 41
adam Avatar answered Sep 21 '22 03:09

adam