Could anyine tell me what the preferred method is for giving a slider item a title when configuring Root.plist in XCode please?开发者_Python百科 I have scoured all the documentation and played around with a dummy Root.plist file (including getting XCode to crash by changing values) but I can't see an obvious way of giving a slider a title. Thanks in advance, V.V.
You can either set the header / footer text, or create a cell above it.
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string>Slider Title</string>
</dict>
More recent configuration -- place the following above your slider dict
.
<dict>
<key>Type</key>
<string>PSGroupSpecifier</string>
<key>Title</key>
<string>Your Title</string>
</dict>
Source: https://developer.apple.com/library/archive/documentation/PreferenceSettings/Conceptual/SettingsApplicationSchemaReference/Articles/PSGroupSpecifier.html#//apple_ref/doc/uid/TP40007009-SW1
精彩评论