1

I want to use the PSMultiValueSpecifier in the settings bundle for my iphone app, but for some reason it doesn't want to work?

Does anyone know a good tutorial or sample code on how to use this?

tarnfeld
  • 25,992
  • 41
  • 111
  • 146

2 Answers2

5

Make sure you have all 6 Values entered for it: http://developer.apple.com/iphone/library/documentation/PreferenceSettings/Conceptual/SettingsApplicationSchemaReference/Articles/PSMultiValueSpecifier.html

For each Values entry, it should have a Titles Entry corresponding to it.

  • Hmmm I did, for some reason it doesn't work? Do you have iChat or possibly you could send me a sample .plist ? – tarnfeld Aug 24 '09 at 20:52
1

The following works, if the PSMultiValueSpecifier is on the top / root level:

NSString *urlFromSettings = [[NSUserDefaults standardUserDefaults] stringForKey:@"feed"];

I'm on my way to figure out, why it does not work, when used in a child pane.

Dominic Frei
  • 327
  • 1
  • 5