0

我想通过 Objective-C 阅读钥匙串项目,我找到并阅读了Apple 文档

它显示了示例代码,但是在正确链接所需的框架(SystemConfiguration.framework 和 Security.framework)之后,我仍然不清楚如何使它工作。

我也在弄清楚如何使用SSKeychain Wrapper,但是在运行时调用它时,我会收到无法识别的选择器发送到类:

-(IBAction) button:(id)sender
{
    NSArray *keychainAccounts = [[self class] allAccounts];
    NSLog(@"Keychain accounts are: %@", keychainAccounts);
}

非常感谢。

4

0 回答 0