开发者

How to change the asihttp error messages?

开发者 https://www.devze.com 2023-03-17 17:01 出处:网络
How can I change the ASIHttp error message \"A conn开发者_StackOverflow中文版ection failure occured.\" in iPhone. Is there any delegate method for this?

How can I change the ASIHttp error message "A conn开发者_StackOverflow中文版ection failure occured." in iPhone. Is there any delegate method for this?

I want to show some another message if the server is inactive.


Looks like that is hardcoded in the ASIHTTPRequest.m file. It is on the 3424th line as NSString *reason = @"A connection failure occurred";. I suppose you could make a method for it.

0

精彩评论

暂无评论...
验证码 换一张
取 消