此代码有什么问题:
NSError *error = nil;
[SFHFKeychainUtils deleteItemForUsername:@"<span class="Apple-style-span" style="font-family: Times; font-size: small;">IAPNoob01</span>" andServiceName:kStoredData error:&error];
错误是:
问题:缺少[在启动消息发送表达式
答案 0 :(得分:5)
你必须转义字符串中的引号。
NSError *error = nil;
[SFHFKeychainUtils deleteItemForUsername:@"<span class=\"Apple-style-span\" style=\"font-family:Times;
font-size: small;\">IAPNoob01</span>"
andServiceName:kStoredData
error:&error];