Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这段代码有什么问题:
NSError *error = nil; [SFHFKeychainUtils deleteItemForUsername:@"<span class="Apple-style-span" style="font-family: Times; font-size: small;">IAPNoob01</span>" andServiceName:kStoredData error:&error];
错误是:
问题:缺少 [ 在开始消息发送表达式
您必须转义字符串中的引号。
NSError *error = nil; [SFHFKeychainUtils deleteItemForUsername:@"<span class=\"Apple-style-span\" style=\"font-family:Times; font-size: small;\">IAPNoob01</span>" andServiceName:kStoredData error:&error];