[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkStateChange) name:kReachabilityChangedNotification object:nil];
self.conn = [Reachability reachabilityForInternetConnection];
[self.conn startNotifier];
posted on 2016-01-12 10:44 JFC 阅读(209) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 JFC Powered by .NET 8.0 on Kubernetes