Closed tushar666 closed 5 years ago
That can't be done. Once user wants to install app, you get no call backs notifying you about uninstall
Use UserDefaults instead.
In my app delegate I check if the app has been run before. If not then I attempt to delete the item I store in the keychain.
While this doesn't remove it on uninstall it does ensure that when run the first time its not going to encounter any previous data
As has been mentioned, this cannot be done automatically, but there are some options to handle clearing it on the next re-install and first run as @marcus604 mentioned.
Guys i want to erase all the stored value from Keychain once the app is uninstalled.