Skip to Content
author's profile photo Former Member
Former Member

SMP3 - AppDevelopment (native iOS Offline):

Hi, I have a question on SMP3 and AppDevelopment (native iOS Offline):

when i am online the posting of data to backend is working fine, when i go offline and add an entry the log shows the message as follows

now i came to online , the automatic calling of offline requests are not invoking.

As for postbody i am using a Json format


help me where i go wrong.


Siva Chandu

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Jul 25, 2014 at 08:51 AM

    Have you added the offline specific libraries to the project with relevant code to manage operations when the device is out of network ? Provide the code you wrote for offline.

    Midhun VP

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Midhun VP

      i have been checking the code and tried whether the libraries are recognizing the network reachability so i have add the

      [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkStatus: ) name:kReachabilityChangedNotification object:nil];

      Reachability *reach = [Reachability reachabilityForInternetConnection];

      [reach startNotifier];

      but the networkStatus: method is not getting called.

      please update me on this regard.

      Thanks & regards

      Siva Chandu