I use AFNetworking in my app for every request (like login, get data from url, etc).
AFNetworking
Take this for example: an user click on the login button and there\
How about using Reachability?
You can check whether you have a plausible reason for trying a connection before you do it.
Looks like the Apple Sample Project for Reachability shows how to get an initial status.