how to handle multiple NSUrlResponses in iphone
Posted
by
MaheshBabu
on Stack Overflow
See other posts from Stack Overflow
or by MaheshBabu
Published on 2010-12-28T14:02:04Z
Indexed on
2010/12/29
3:54 UTC
Read the original article
Hit count: 181
iphone
hi folks,
i am getting data from .net web services.
I am sending two NSURlrequests to the same url,
But i need to save those responses separately.
for that my code is
-(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data
{
if (theConnection_LOD ) {
[webData_LOD appendData:data];
}
if (theConnection_photo) {
[webData_photo appendData:data];
}
}
But it does n't work how can i handle these responses.
can any one pls help me.
Thank u in advance.
© Stack Overflow or respective owner