Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does NSUserDefaults get erased when an app gets updated?

In my App i am using NSUserDefaults to save some data. I have a doubt regarding this when i update the app in App Store, Will The Data in NSUserDefaults will remain same or it is removed.

like image 518
kiri Avatar asked Nov 21 '11 07:11

kiri


1 Answers

NSUserDefaults will not be erased during update, but it will be removed when you uninstall an app.

like image 169
Raptor Avatar answered Oct 05 '22 15:10

Raptor