Post

Replies

Boosts

Views

Activity

Reply to [iOS 14.5 Beta] SCNetworkReachabilityFlags return kSCNetworkReachabilityFlagsTransientConnection
I was among the people who misused the SCNetworkReachability, my algirithm was: (NetworkStatus) networkStatusForFlags: (SCNetworkReachabilityFlags) flags { NetworkStatus status = NotReachable; if (flags & kSCNetworkReachabilityFlagsReachable) { if (flags & kSCNetworkReachabilityFlagsIsWWAN) { status | = ReachableViaWWAN; } if (! (flags & kSCNetworkReachabilityFlagsTransientConnection)) { status | = ReachableViaWiFi; } } return status; } Who considers the status not reachable when I receive kSCNetworkReachabilityFlagsTransientConnection and I am reachable and not in WWAN. Thanks for your help
Feb ’21