fuzzygoat
fuzzygoat

Reputation: 26223

Adding default values to settings.bundle items?

I have noticed that some values in settings.bundle (Root.plist) do not allow you to associate a default value with them?

enter image description here

Is there a way to add a default field or is it simply a case of adding the appropriate defaults for these items inside the application using ...

NSDictionary *defaultSettings = [NSDictionary dictionaryWithObjectsAndKeys:@"Kinetic", @"IDBombs", nil];
[userDefaults registerDefaults:defaultSettings];

Just curious if I am doing this right or missing something?

Upvotes: 0

Views: 77

Answers (1)

Fran Sevillano
Fran Sevillano

Reputation: 8163

Right mouse click on any row within the item, click Add row on the menu and choose Default value.

Upvotes: 2

Related Questions