此代码有什么问题:
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];
关于ios - 缺少[在开始消息中发送表达式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12340765/