Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS14 always get reachable on 4G with wrong hostname #185

Open
luckyzd opened this issue Sep 21, 2020 · 2 comments
Open

iOS14 always get reachable on 4G with wrong hostname #185

luckyzd opened this issue Sep 21, 2020 · 2 comments

Comments

@luckyzd
Copy link

luckyzd commented Sep 21, 2020

Reachability *reach = [Reachability reachabilityWithHostname:@"abcd"];
reach.reachableBlock = ^(Reachability *reachability) {
            NSLog(@"ios14 always reachable on 4G ");
};
[reach startNotifier];

iOS14 x 4G not OK
iOS14 x wifi OK
iOS13 x 4G OK

@Jacky-LinPeng
Copy link

我记得以前是可以的... 是啥时候突然不行了???

@xuchuandong
Copy link

xuchuandong commented Jul 24, 2024

看源码啊,八百年不更新了,要不自己fork改一下,要不换库(RealReachablity支持)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants