开发者

NSXMLParser - the request timed out

开发者 https://www.devze.com 2023-03-07 01:00 出处:网络
I have been intermittently receiving a \"The request timed out\" message via the NSXMLParser parseError method. (NSError)

I have been intermittently receiving a "The request timed out" message via the NSXMLParser parseError method. (NSError)

It doesn开发者_高级运维't happen in the simulator only on the actual device. (i4)

On the device it usualy happens when the app being launched the first time.

Once I have the first parse done (after one or two app restart) every other web service call will work just fine.

I can then restart the app as many times as I want it won't show the error anymore.

I don't see how this is a timeout error as the app won't hang up. The error pops up instantly.

Any idea?

Thank you


I could never figure out this error. It looks like this message appears only when the connection is very slow.

0

精彩评论

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