iOS Keychain values survive to app uninstall

Hi,

I've experimented that keychain values are not resetted after an app uninstall.

I can't find an official documentation about this behaviour.

I need to know if there are constraints (for ex: it will be resetted after 1 day, etc) and if it is a feature or a bug.

Can I actively use this behaviour or it can be dropped out without notice.


Do someone have any related link?

Thanks!

Valerio

Answered by DTS Engineer in 75464022

I've experimented that keychain values are not resetted after an app uninstall.

Correct.

I can't find an official documentation about this behaviour.

Indeed. This behaviour is more of an artefact of the implementation rather than a designed-in feature.

Can I actively use this behaviour or it can be dropped out without notice.

The question you really have to ask is, what is my exposure if this behaviour changed? And that’s something that only you can answer. Ultimately it boils down to a risk/reward tradeoff.

Share and Enjoy

Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Accepted Answer

I've experimented that keychain values are not resetted after an app uninstall.

Correct.

I can't find an official documentation about this behaviour.

Indeed. This behaviour is more of an artefact of the implementation rather than a designed-in feature.

Can I actively use this behaviour or it can be dropped out without notice.

The question you really have to ask is, what is my exposure if this behaviour changed? And that’s something that only you can answer. Ultimately it boils down to a risk/reward tradeoff.

Share and Enjoy

Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Hi eskimo, thanks for your confirmation.

gd
nice
iOS Keychain values survive to app uninstall
 
 
Q