Andrea
Andrea

Reputation: 1701

Can't read Root.plist with NSUserDefaults

I've a problem. I have the file root.plist with many preferences but, when I use:

NSUserDefaults standardUserDefaults

to read it, nothing happened. Why? Can you help me?

Thanks

Upvotes: 0

Views: 173

Answers (1)

jrturton
jrturton

Reputation: 119242

Why would it read that file? User defaults aren't stored in a plist in your application bundle. If that file contains "first-run" preferences to set for all users you will need to read from the file yourself and copy the values to defaults using the standard methods.

Upvotes: 1

Related Questions