【发布时间】:2016-05-10 06:38:42
【问题描述】:
我正在使用 Reachability 类来检查我的 tvOS 应用程序中的网络是否可用。
当我尝试通知 kReachabilityChangedNotification 时,它没有调用该方法。
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(handleNetworkChange:) name:kReachabilityChangedNotification object:nil];
方法handleNetworkChange 没有被调用。
【问题讨论】:
标签: objective-c tvos reachability