Skip to content

你好,为啥工具类判断网络状态用不了 #2

@InsectQY

Description

@InsectQY

HTTPClient文件里的这个方法,不管有没有网络都会返回没有网络,但是startMonitoring的监听回调正常。

  • (BOOL)isReachable {

// return YES;
return _sharedHTTPClient.reachabilityManager.reachable;

}

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