?// 网络变化消息 [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(checkNetwork) name: kReachabilityChangedNotification object: nil]; Reachability *reach = [Reachability reachabilityWithHostname: @“www.baidu.com"]; // 开始监听 [reach startNotifier];?
AFNetworking实时监测网络连接,布布扣,bubuko.com
原文地址:http://www.cnblogs.com/jz319/p/3842497.html