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

从无网络或蜂窝数据切换到一个无网络的WiFi时会多一次RealStatusViaWiFi状态的调用 #137

Open
shiki-z opened this issue Oct 10, 2022 · 0 comments

Comments

@shiki-z
Copy link

shiki-z commented Oct 10, 2022

问题描述

2022-10-11 00:44:04.335382+0800 ocproject[28105:9359196] currentStatus:0
2022-10-11 00:44:04.418624+0800 ocproject[28105:9359196] Successfully load keyboard extensions
2022-10-11 00:44:04.794793+0800 ocproject[28105:9359225] Metal API Validation Enabled
2022-10-11 00:44:48.934408+0800 ocproject[28105:9359196] currentStatus:2
2022-10-11 00:44:50.047799+0800 ocproject[28105:9359196] currentStatus:0

问题出现位置在-[RealReachability localConnectionHandler:]中的[[NSNotificationCenter defaultCenter] postNotificationName:kRealReachabilityChangedNotification object:strongSelf];

解决方法

可以考虑重写-[RealReachability localConnectionHandler:]方法的逻辑

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

1 participant