Will information be saved in the standard UserDefaults with the application update?

Newbie question - I am using [NSUserDefaults standardUserDefaults] to save user
specified preferences. When testing my application, I see that the saved preferences disappears if I uninstall and reinstall the application on my iphone. I am wondering if this will also happen when the user installs the next updated version of the application?
Does reinstalling from xcode (without actually removing the application from the phone) simulate an application update
script?

+3
source share
1 answer

, Xcode , . , .

+6

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


All Articles