[英]Remove private (keychain) data when iOS app is removed
我知道在卸载iOS应用程序时无法拦截任何类型的事件,但有没有办法将钥匙串项绑定到应用程序,以便它们将随应用程序一起删除?
No, there isn't. 不,没有。 However, you can use
NSUserDefaults
to know if it's the first time your app is opened, and erase all keychain data, if it helps. 但是,您可以使用
NSUserDefaults
来了解您的应用是否第一次打开,并删除所有钥匙串数据(如果有帮助)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.