Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete Keychain data when app is uninstalled? [duplicate]

I have a problem . I am saving some critical information on device Keychain for my App, but when I uninstall the App and install it again, these data is still saved. How can delete these information when the application is uninstalled? If this is not possible, how detect when the App is first Load after install it without save information in NSUserDefaults?

Thank you very much.

like image 887
Paolpa Avatar asked Jan 03 '14 12:01

Paolpa


1 Answers

This is work around , but may be will satisfy you: Store in NSUserDefaults flag, that keychain have data. If it's NO then ignore keychain.

like image 183
Cy-4AH Avatar answered Oct 05 '22 23:10

Cy-4AH