My application use the keychain to store users and passwords. When I remove and reinstall my app, the keychain is not clean, keys are always in the application.
How to detect the removing of my app and use my cleanKeyChain method ?
My application use the keychain to store users and passwords. When I remove and reinstall my app, the keychain is not clean, keys are always in the application.
How to detect the removing of my app and use my cleanKeyChain method ?
There is no observer to get notified if the app gets deinstalled. If the app is not running at that time its useless anyway. You can use bundle props (fresh = true on 1st run) and remove / add things again with a reinstall.