문제

Could anyine tell me what the preferred method is for giving a slider item a title when configuring Root.plist in XCode please? 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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top