Skip to content

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

Description

@shikizl

问题描述

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:]方法的逻辑

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions