【发布时间】:2025-11-26 08:50:02
【问题描述】:
我正在尝试使用* 上的以下代码检查网络可达性。唯一的问题是,由于使用了 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
我想我的问题是如何让这个代码here 与 ASIHTTPRequest 的可达性类一起工作?谢谢。
【问题讨论】:
标签: iphone objective-c httprequest asihttprequest reachability