You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mac environment, simulator ios12, when I shortdown the WIFI, Reachability calback NotReachable.
then i connect to WIFI, Reachability cannot callback any more!
I set breakpoint in Reachability.m to monior
`static void ReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkReachabilityFlags flags, void* info)
{
#pragma unused (target, flags)
NSCAssert(info != NULL, @"info was NULL in ReachabilityCallback");
NSCAssert([(__bridge NSObject*) info isKindOfClass: [Reachability class]], @"info was wrong class in ReachabilityCallback");
Reachability* noteObject = (__bridge Reachability *)info;
// Post a notification to notify the client that the network reachability changed.
[[NSNotificationCenter defaultCenter] postNotificationName: kReachabilityChangedNotification object: noteObject];
}`
the bug just appears in ios12, it totally seems fine in my ios10 simulator...
The text was updated successfully, but these errors were encountered:
mac environment, simulator ios12, when I shortdown the WIFI, Reachability calback NotReachable.
then i connect to WIFI, Reachability cannot callback any more!
I set breakpoint in Reachability.m to monior
`static void ReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkReachabilityFlags flags, void* info)
{
#pragma unused (target, flags)
NSCAssert(info != NULL, @"info was NULL in ReachabilityCallback");
NSCAssert([(__bridge NSObject*) info isKindOfClass: [Reachability class]], @"info was wrong class in ReachabilityCallback");
}`
the bug just appears in ios12, it totally seems fine in my ios10 simulator...
The text was updated successfully, but these errors were encountered: