Is there a good example of implementing background task like waiting for a chat response message while the app is in the background in iOS.

Is there a good example of implementing background task like waiting for a chat response message while the app is in the background in iOS.

There are a lot of sample for Android but I cannot find one for iOS.

Comments

  1. Slight modification to my previous statement, will it be possible for an iOS app to check the server for any updates at a regular time interval even if the app is in the background.

    ReplyDelete
  2. David Nottage Is'nt a pattern just a algorithm that could be implemented in? He needs a method to work in a chat, so why can't use that? Let say he has a service to which a app can subscribe for messages, that's it.
    Have a look at Delphi implementation observer pattern here in a earlier post, sorry, can't remember who's.

    ReplyDelete

Post a Comment