plist writing data inside dictionary
问题 Is it possible to edit values in our pList file in bundle or in our resources through code? This means that my plist file is NOT created programmatically and I want to edit its values programmatically. 回答1: In your app bundle, no: you can't write files inside your app bundle. However, you can copy the file to the Documents or Library directory of the app sandbox upon the first launch on your app, then edit the plist file from there -- wheter it was created by code or by hand is unimportant.