i have two database one database in webserver and other database in local
here i have to cheek in device if online connection is on then data should come from webserver database if online is off then data is come from sqlite local database and diplay data on iphone please help me in this problem
i have two database one database in webserver and other database in local here
Share
Add reachabilty.m and reachabilty.h to your project. In your controller which is active throughout the life of the program add the following lines and use the below callback.
The callback is as follows: