
Untitled
By: a guest on
Jul 4th, 2012 | syntax:
None | size: 0.60 KB | hits: 18 | expires: Never
Problem in NSURLConnection didFailWithError: method in iPhone SDK
-(void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error
{
UIAlertView* statusAlert3 = [[UIAlertView alloc] initWithTitle:@"Alert"
message:@"Error in communicating to server. We regret the inconvenience. Please try again."delegate:self
cancelButtonTitle: @"Ok"
otherButtonTitles:nil];
[statusAlert3 show];
[statusAlert3 release];