Iphone: Can I save a user login in a plist that lives in a resource folder?

I have a plist in my Resources folder that I use to store conversion information. I would like to give the user the option to “disable” certain units so that these units are never used in conversions. I don’t want to maintain two conversion information lists.

I can save the data back to this plist file in the stimulator. (using writeToFile and pathForResource). I am wondering if this is a problematic approach.

  • Will there be problems with this during deployment? (that is, whether the apple will seal the layer).
  • What happens if I push an update? What if this update contains new blocks added to the list?
  • Will it do something like copying plist to the user's document directory?

Thanks.

+3
source share
3 answers

Unable to modify application package. Next, the application is signed. Instead, copy plist to the document directory on first run and access from there.

+3
source

Nothing that is included in the application package has limitations; DRM on the iPhone needs to remain the same.
You must save your settings in the Apllication Document folder or in the Preference folder.

+1
source

iOS...

+1

Source: https://habr.com/ru/post/1717972/


All Articles