Settings Bundle - giving a slider item a title
-
20-01-2021 - |
Вопрос
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>
Не связан с StackOverflow