我想通过Objective-C阅读一个钥匙串项目,我发现并阅读了Apple Documentation
它显示了示例代码,但是在正确链接所需的框架(SystemConfiguration.framework和Security.framework)之后,我仍然不清楚如何使其工作。
我也在弄清楚如何使用SSKeychain Wrapper,但是在运行时调用它时,我将无法识别的选择器发送给类:
-(IBAction) button:(id)sender
{
NSArray *keychainAccounts = [[self class] allAccounts];
NSLog(@"Keychain accounts are: %@", keychainAccounts);
}
非常感谢。