1
NSURLConection 메서드를 사용하여 서버에 데이터를 게시하고 있습니다. 요청으로 인해 낮은 와이파이 연결에 실패하면 요청이 내가 같은 시간에 두 번이 경고를 얻고 실패하면 .... 나는 때문에NSURLConnection의 문제 didFailWithError : 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];
}
에 경고를 받고 있습니다. 내가 이것을 취소하면 다시 한번이 경고를받습니다.
AnyOne이 도와 드리겠습니다. 덕분에 사전.
경고의 텍스트를 오류의 localizedDescription으로 설정하면 이유를 찾는 데 도움이됩니다. – xenep
NSURLConection 메서드를 사용하여 같은 뷰 컨트롤러에서 두 번 서버에 데이터를 게시하고 있습니다. – Robin