How can I change the ASIHttp error message “A connection failure occured.” in iPhone. Is there any delegate method for this?
I want to show some another message if the server is inactive.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Looks like that is hardcoded in the
ASIHTTPRequest.mfile. It is on the 3424th line asNSString *reason = @"A connection failure occurred";. I suppose you could make a method for it.