简体   繁体   English

如何为iPhone应用程序实现可达性

[英]How to implement Reachability for iphone application

I am developing an iphone application which uses internet.So in order to handle the network connection errors i would like to use reachability,but from apple site api reference it states that build and runtime requires iOS4 but i am developing application for iphone 2g which only supports upto iphone os 3.1.3.So any one could help me in implementing the reachabilty class. 我正在开发一个使用Internet的iphone应用程序。因此,为了处理网络连接错误,我想使用可达性,但是从Apple网站api参考中,它指出构建和运行时需要iOS4,但是我正在开发仅用于iphone 2g的应用程序支持最高至iphone os 3.1.3,因此任何人都可以帮助我实现可达性类。

Thanks in advance for all stackoverflow masters........ 预先感谢所有stackoverflow大师........

ASIHTTPRequest中检查修改后的Reachability ,其中包括对较旧iOS版本的支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM