ASIHTTPRequest, EXC_BAD_ACCESS when request did finished

后端 未结 3 1249
后悔当初
后悔当初 2021-01-14 12:58

I\'m trying to do an asynchronous request with ASIHTTPRequest, but have some problem getting notified when the request is done.

-(void)doDownload{
    NSURL          


        
3条回答
  •  忘掉有多难
    2021-01-14 13:28

    [request responseString];

    Check retainCount of request before this call. Propably it equals zero :) If that - you shouldn't forget to retain it when you creates it in doDownload method.

提交回复
热议问题