I have an app I've made for a customer which stores certain information in NSUserDefaults
and it all works between sessions using the app. But when the user updates the app the NSUserDefaults
gets cleared. As far as I can tell the NSUserDefaults
should NOT clear on updates - only on uninstalls. I can't for the life of me figure out why or how to adress this issue.
My app is written in Swift 2.0
, supporting iOS 8 and upwards, distributed through TestFlight and/or HockeyApp.