问题
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