I hope to access the instance of ASIHTTPRequest
{
ASIHTTPRequest *myRequest;
}
@property (nonatomic, retain) ASIHTTPRequest *myRequest;
//-----------------------------------
ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:[NSURL URLWithString:requestURL]];
[request setTag:selectTag];
myRequest=request;
[request startAsynchronous];
if I force the request stoping work
I used the codes
if (myRequest!=nil)
{
[myRequest cancel];
}
but myRequest always returns 0x00000000
Welcome any comment
I think that you need to test if the request is already finished or canceled.