Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios PDKeychainBindingsController:如何重置keychain中的项?_Ios_Objective C_Keychain - Fatal编程技术网

Ios PDKeychainBindingsController:如何重置keychain中的项?

Ios PDKeychainBindingsController:如何重置keychain中的项?,ios,objective-c,keychain,Ios,Objective C,Keychain,我正在使用PDKeychainBindingsController,但它没有方法将所有KeyChainItems重置为Apple的KeychainItemWrapper,有人能告诉我如何执行相同的任务吗 谢谢尝试创建新方法: - (void)resetKeychainItems { bindings = [PDKeychainBindings sharedKeychainBindings]; [bindings removeObjectForKey:@"..."];

我正在使用PDKeychainBindingsController,但它没有方法将所有KeyChainItems重置为Apple的KeychainItemWrapper,有人能告诉我如何执行相同的任务吗


谢谢

尝试创建新方法:

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

是的,此方法可以删除密钥的值,但我需要一种方法来删除应用程序的所有密钥链数据。此外,我们需要显式删除它们。卸载应用程序时不会删除这些数据。为什么会这样?