hi all
i just wanted to know if this is the right way to check if a sendsynchronousrequest was successful:
NSData* returnData = [NSURLConnection sendSynchronousRequest:req returningResponse:nil error:nil];
if(returnData == nil)
{
//code showing an alertView for example
}
else
{
//do somthing else
}
thanks in advance for your feedback
sean