iOS 5 Hanging on ASIHTTPRequests

Posted by Tareq on Stack Overflow See other posts from Stack Overflow or by Tareq
Published on 2011-10-17T21:26:00Z Indexed on 2011/11/23 17:50 UTC
Read the original article Hit count: 424

Filed under:
|
|

So I have an app that runs on iOS 3.2 - 4.x. It uses ASIHTTPRequest to make all the REST API calls. Ever since my team and I upgraded three of our iPhone 4's to iOS 5, The app will hang and show the ActivityIndicator indefinitely. I looked at the server logs and the requests aren't hitting the server.

However, if I press the iPhone home button then open the app again, the request will go through and I will receive the data, business as normal. For some reason the requests are never triggered until I reopen the app.

Another weird tidbit, the app works in Xcode 4.2 and the iPhone simulator. The app also works on an iPad2 with iOS 5 (the app is iPhone only).

Would this be an ASIHTTPRequest issue? Not too sure how to pinpoint the issue since there is no crash and only happens on the phone.

Any insight would be much appreciated! Thanks.

© Stack Overflow or respective owner

Related posts about asihttprequest

Related posts about ios5