主程序
NSDictionary *additionalQueryParameters = [NSURL ab_parseURLQueryString:[url query]];
OAuth.h
@interface NSURL (OAuthAdditions)
+ (NSDictionary *)ab_parseURLQueryString:(NSString *)query;
@end
OAuth.m
@implementation NUSL (OAuthAdditions)
+ (NSDictionary *)ab_parseURLQueryString:(NSString *)query
{
does something..
}
当它运行该行时,它会引发此错误...
2012-12-03 15:10:58.506[12500:1d403] +[NSURL ab_parseURLQueryString:]:无法识别的选择器发送到类 0xaece26c
2012-12-03 15:10:58.508[12500:1d403] *由于未捕获的异常“NSInvalidArgumentException”而终止应用程序,原因:“+ [NSURL ab_parseURLQueryString:]:无法识别的选择器发送到类 0xaece26c”
* First throw call stack: (0xada8012 0xa3d6e7e 0xae332ad 0xad97bbc 0xad9794e 0x17b5ee8 0x17b5724 0x17b58d6 0xa84f53f 0xa861014 0xa8522e8 0xa851fcb 0x96097b24 0x960996fe) libc++abi.dylib: terminate called throwing an exception
知道为什么找不到它以及如何修复它吗?谢谢。