ShortTitles键可以与InAppSettingsKit PSMultiValueSpecifiers一起使用吗?

时间:2012-02-09 17:40:32

标签: objective-c ios plist inappsettingskit

我正在使用InAppSettingsKit并且我试图在我的plist文件中包含关键字“ShortTitles”:https://developer.apple.com/library/ios/#documentation/PreferenceSettings/Conceptual/SettingsApplicationSchemaReference/Articles/PSMultiValueSpecifier.html#//apple_ref/doc/uid/TP40007016-SW1

        <dict>
        <key>DefaultValue</key>
        <string>0</string>
        <key>Key</key>
        <string>preferenceName</string>
        <key>Title</key>
        <string>MyPreferenceTitle</string>
        <key>Type</key>
        <string>PSMultiValueSpecifier</string>
        <key>ShortTitles</key>
        <array>
            <string>None</string>
            <string>Type1</string>
            <string>Type2</string>
        </array>
        <key>Titles</key>
        <array>
            <string>None</string>
            <string>Type1: description</string>
            <string>Type2: description</string>
        </array>
        <key>Values</key>
        <array>
            <string>0</string>
            <string>1</string>
            <string>2</string>
        </array>
    </dict>

但它似乎没有生效,只使用了标题键。我错过了什么或IASK不允许这个密钥吗?

1 个答案:

答案 0 :(得分:0)

不确定IASK是什么,但ShortTitles仅适用于iOS 5.0。