Is data stored in NSUserDefaults persists through application updates and on application reinstallation (remove-install)?
问题 It's important to my app, becuase I want to store app UDID there, and Apple recommends to create app specific UDID starting from iOS 5.0. 回答1: User defaults are persisted through updates but are not persisted through deleting and re-installing the app. At present, the keychain is persisted through deleting and re-installing the app, but it's not documented to be one way or the other, so relying on this behavior may be risky. You could also write the value to the iCloud key/value store. That