Reachability vs UIDevice-Reachability

旧巷老猫 提交于 2019-12-10 10:21:29

问题


I need to test network reachability in my iPhone project. Which project is better to use?

Reachability vs UIDevice-Reachability


回答1:


Reachability if your only issue is to test network reachability. It's apple sample code and it's pretty easy to use.

UIDevice is great for learning but a bit overkill just for network reachability. So in the end either of them will do. Depends on what you want to do.



来源:https://stackoverflow.com/questions/4954904/reachability-vs-uidevice-reachability

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!