Reachability issues since upgrading to iOS 6

I have a tried and tested corporate iPhone app that has been in use for over a year and works great. An application often uses asynchronous NSURLConnectionRequests to retrieve data from a server.

I control the availability of the network connection using the Apple sample code "Reachability". I always thought Reachability code was a little fragile, but I worked on it for many months - iOS 4.3 onwards.

However, I see a problem from the moment I upgrade to iOS 6. It seems that randomly, after a day or two dives into and out of the application, I open the application and notify (via the console) that the application is receiving repeated "available networks" from the Reachability class.

If I stop the task (and I mean, stop correctly) and restart, the problem will disappear and the application will work fine again.

Of course, this may be due to a subtle problem with my integration of Reachability code (I mentioned that I consider it "fragile"), but I wonder if anyone has seen anything like this since upgrading to iOS 6?

I had a game with iOS 6 → Settings → Developer Settings → Network Connection Adapter, and it seems that this problem has appeared since then, but it has definitely been disabled, and I rebooted the device.

Does anyone else see reachability issues since upgrading to iOS 6?

+4
source share
1 answer

Well, I'm going to take on this problem, which I saw twice, magically "left."

If anyone else sees this, add to the comments.

0
source

Source: https://habr.com/ru/post/1437811/


All Articles