为什么我得到“隐式声明函数'PerformXMLXPathQuery'”警告?

时间:2010-10-29 11:52:13

标签: iphone ios warnings

为什么我得到“隐式声明函数'PerformXMLXPathQuery'”警告?

NSString *response = [request responseString];  
NSString* xPathQuery = [NSString stringWithFormat:@"//ExtendedData"];  
NSArray* myArray = PerformXMLXPathQuery([response dataUsingEncoding:NSUTF8StringEncoding ],xPathQuery);

1 个答案:

答案 0 :(得分:1)

警告表明编译器找不到为PerformXMLXPathQuery函数声明的原型。检查是否已导入声明函数的头文件。