PDKeychainBindingsController:如何重置钥匙串中的项目?

PDKeychainBindingsController:如何重置钥匙串中的项目?

问题描述:

我正在使用PDKeychainBindingsController,但它没有方法将AppleAllKeychainItems作为Apple的KeychainItemWrapper,任何人都可以告诉我如何执行相同的任务?PDKeychainBindingsController:如何重置钥匙串中的项目?

感谢

尝试创建一个新的方法:

- (void)resetKeychainItems { 
    bindings = [PDKeychainBindings sharedKeychainBindings]; 
    [bindings removeObjectForKey:@"..."]; 
    [bindings removeObjectForKey:@"..."]; 
     ... 
} 
+0

是这种方法可以去除值的关键,但我需要一种方法来删除所有钥匙串数据的应用程序。 – hzxu 2013-03-19 21:30:39

+1

此外,我们需要明确删除它们。卸载应用程序时,它不会被删除。为什么这样? – Heena 2013-09-02 10:14:18