Can you update the file in the application bundle?

Can I programmatically update a file stored in a software package? Basically I want to get a remote file and overwrite with it one of the package files (actually sqlite database).

This works fine on the simulator, but it does not work on the device, although it does not cause errors (it just does not correspond).

I know I can get around this by copying it instead of the user folder, and then getting the code to check their first file before using the package, but I was interested to know if it is possible to update the package file at all or if I'm just doing something wrong ?

thank

+3
source share
2 answers

, . , , App Store. , .

+4

, , Apple ( ). .

0

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


All Articles