I am new to iOS development and working on keychain storage. In my app, I would like to save some important information in iOS keychain (not shared keychain).
I don't know whether keychain data wipes out on app uninstall or not. I am looked at some blogs/stack overflow posts, but I didn't find any official apple documentation mentioning this specific information. I would like to know,
1. Is my stored data deleted on app uninstall?
No, It will remain in keychain even after uninstallation. If you don't want you can get that behaviour with a little trick with use default to know if it's first installed or not.
What happens if the user uninstalls and immediately install app again? Will he gets previously-stored data? Only keychain data retain. Not the data in App Sandbox e.g user defaults, document directory, core data etc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With