0

I need to modify the value of the key in the settings bundle through code whenever i get the new value for that key.

How to do this?

Vignesh Babu
  • 670
  • 13
  • 30

1 Answers1

0

Short answer: you can't. You apps bundles are all read-only.

Claus Broch
  • 9,212
  • 2
  • 29
  • 38
  • 1
    Longer answer: Your app bundles are read-only because they are signed, changing their content would break the signing and the app would be considered to be tampered with and not run. – PeyloW May 12 '11 at 11:06
  • Is it possible to copy all the settings of my setting bundle in to some other plist file and move that file to documents directory and work on it? – Vignesh Babu May 13 '11 at 17:20
  • Sure, you have write access to the documents folder – Claus Broch May 13 '11 at 23:51