1:我写如下代码:
NSArray *key = [[[NSArray alloc] initWithObjects:(NSString *) kSecClass,kSecAttrAccount,kSecAttrServer,nil] autorelease];
但是运行时,提示如下错误
"_kSecClass", referenced from:
_kSecClass$non_lazy_ptr in grammarViewController.o
(maybe you meant: _kSecClass$non_lazy_ptr)
以此类推。刚开始我以为是缺少添加头文件 #import
解决办法: