Read-only string in parameter set

I added the Settings.bundle file, however, when displaying version numbers, I would like the fields to be read-only.

I saw several suggestions that say to change the type of text to the title, but when I do this, the settings record is not displayed.

enter image description here

+6
source share
2 answers
<array> <dict> <key>Type</key> <string>PSGroupSpecifier</string> <key>Title</key> <string>version</string> </dict> <dict> <key>DefaultValue</key> <string>1.1</string> <key>Key</key> <string>version</string> <key>Title</key> <string>version</string> <key>Type</key> <string>PSTitleValueSpecifier</string> </dict> </array> 

I can add readonly the 'Version' variable with the above dictionary in root.plist. Have you installed the use of the Title qualifier? Or try adding the above dict. in your root.plist, this will add a readonly title to your group style settings.

+9
source

To display the Title property in Settings.bundle , you also need to add a "Default value" (it may be empty).

Check the answer here: fooobar.com/questions/326573 / ...

+5
source

All Articles