My iphone/iOS application has a password protected settings page. When the user creates a password, I save the password in a file in library/cache directory.
My problem is: if the user forgets the password, he/she has to delete the app and reinstall it so the password file will be deleted. Just updating the app won't remove the password file. I want to delete/clear this file when the application is updated? How can I do that?
thanks