iOS: ASIHTTPRequest的使用问题

iOS 码拜 8年前 (2016-03-26) 906次浏览
开发过程中使用ASIHTTPRequest,基本配置已配好(如文件导入、框架导入等),但使用时在ASIHTTPRequest.m文件中的如下代码处停滞,问一下各位大牛这是什么原因,该怎么样解决呢?谢谢!iOS: ASIHTTPRequest的使用问题
停滞处代码如下:
/* ALWAYS CALLED ON MAIN THREAD! */
– (void)reportFailure
{
if (delegate && [delegate respondsToSelector:didFailSelector]) {       //停滞在此行
[delegate performSelector:didFailSelector withObject:self];
}
#if NS_BLOCKS_AVAILABLE
if(failureBlock){
failureBlock();
}
#endif
if (queue && [queue respondsToSelector:@selector(requestFailed:)]) {
[queue performSelector:@selector(requestFailed:) withObject:self];
}
}
解决方案

CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明iOS: ASIHTTPRequest的使用问题
喜欢 (0)
[1034331897@qq.com]
分享 (0)