Here, i am just checking whether network connectivity is available to a server and its done synchronously. You can use Reachability if you need notifications when there is any change in the network connectivity. For this you have to include the SystemConfiguration.framework in your project. Now add, #import "SystemConfiguration/SystemConfiguration.h" and the below function to your
Dipin Krishna218 CommentsiOS, Objective Cdevelopment, http, https, ios, ipad, iphone, JSON, login, POST
This tutorial will guide you to create a simple app with a Login screen which takes username and password from the user and then posts it to a url and parses the JSON response form the server.