when I launch my app normally with 3g/wifi on, I get no error within the console. When I disable data access (aka airplane mode) for testing purposes, I get the following error message when the app launches within the console :
2011-11-16 19:17:40.440 Juice[8674:707] Reachability Flag Status: -- ------- networkStatusForFlags
2011-11-16 19:17:41.292 Juice[8674:707] Applications are expected to have a root view controller at the end of application launch
May it be noted that I get a uialertview that pops up when the app detects no data connection and that I am using a tab bar controller. I have no idea why I am getting these error messages.
Thanks in advance!
Those are not error message per-say, but rather notification messages letting you know that there is no network connection. To disable them you can open up your local copy of Reachability.m
and change this:
#define kShouldPrintReachabilityFlags 1
To:
#define kShouldPrintReachabilityFlags 0
The line is just below the #import "Reachability.h"
line.
Reachability.m source
Reachability.h source
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With