0

I need to implement such feature:

every time than app get internet connection I need to send request to web server. I need to do it from Background than app is not launched. So, what Background mode should I use for that and how to implement that feature?

  • You can use background fetch, but it check "every time there is an internet connection", it will just check periodically, controlled by iOS – Paulw11 Oct 09 '16 at 19:58
  • @Paulw11, can I use VOIP for that? – user6946075 Oct 09 '16 at 20:24
  • No, use of background fetch doesn't require any VoIP features. – Paulw11 Oct 09 '16 at 20:30
  • @Paulw11, well are there any other ways to stay always in the background and check network manually? – user6946075 Oct 09 '16 at 20:36
  • 1
    Do you want AppStore approval? You can keep,a socket alive in the background if you are a VoIP app, but this isn't recommended. The use of Pushkit is the preferred approach for VoIP apps. Polling is bad for battery and network usage. Push is a better approach – Paulw11 Oct 09 '16 at 20:56

0 Answers0