我正在尝试使用在stackoverflow上找到的以下代码检查网络可达性。唯一的问题是由于使用了 ASIHTTPRequest 类,我的项目中已经有了可达性类。由于以下错误,我无法使用 Apple 的默认可达性代码构建我的项目:
"_kReachabilityChangedNotification", referenced from:
_kReachabilityChangedNotification$non_lazy_ptr in ASIHTTPRequest.o
(maybe you meant: _kReachabilityChangedNotification$non_lazy_ptr)
(maybe you meant: _kReachabilityChangedNotification$non_lazy_ptr)
ld: symbol(s) not found
collect2: ld returned 1 exit status
我想我的问题是如何让这里的代码与ASIHTTPRequest 的 Reachability 类一起使用?谢谢。