Q:

The application will need to have the ability to work off line for later upload via WiFi or cellular connection

I am working on an application where i need to upload the data to the server for that i need to check the network connection(wifi/3G) if network is not there it will store somewhere till the network available one  network find it automatically upload to the server.I don't have any concept to work on this type of situation..Can anyone tell me how to work ... 

A:

Use the Reachability framework to detect the connection type. Wrap it to some background loop to check and you're done.

