我即将在单独的.plist中对图形内容进行设置。我从Root.plist链接了它,但只有设备才显示组标题。因为我无法上传图片,所以我在这里粘贴代码。
<plist version="1.0">
<dict>
<key>StringsTable</key>
<string>Graphics</string>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>Type</key>
<string>PSGroupSpecifier</string>
<key>Title</key>
<string>Background Settings</string>
</dict>
<dict>
<key>Type</key>
<string>PSToggleSwitchSpecifier</string>
<key>Title</key>
<string>Moving background</string>
<key>Identifier</key>
<string>moveEnabled</string>
<key>Default Value</key>
<true/>
</dict>
<dict>
<key>Type</key>
<string>PSToggleSwitchSpecifier</string>
<key>Title</key>
<string>Display Nebulas</string>
<key>Identifier</key>
<string>nebulasEnabled</string>
<key>Default Value</key>
<true/>
</dict>
<dict>
<key>Type</key>
<string>PSToggleSwitchSpecifier</string>
<key>Title</key>
<string>Display Stars</string>
<key>Identifier</key>
<string>starsEnabled</string>
<key>Default Value</key>
<true/>
</dict>
<dict>
<key>Type</key>
<string>PSGroupSpecifier</string>
<key>Title</key>
<string>Explosion Settings</string>
</dict>
</array>
</dict>
</plist>
这是仅显示标题的部分,这就是我链接它的方式:
<dict>
<key>Type</key>
<string>PSChildPaneSpecifier</string>
<key>Title</key>
<string>Graphic Settings</string>
<key>File</key>
<string>Graphics</string>
</dict>
感谢您的帮助。
答案 0 :(得分:0)