Internet connection check code iOS

By | May 1, 2015

Internet connection check code iOS

If you are implementing the code in your app, to check whether device connected to the internet or not and accordingly give alerts then follow the steps.

1. Add System.Configuration framework to your project

2. Download Reachability.h and .m files from here!  (Click on download sample code) and just add these two files mentioned from sample project

3. Follow the code below :


Leave a Reply

Your email address will not be published. Required fields are marked *