Running background services in iOS

前端 未结 3 1252
我寻月下人不归
我寻月下人不归 2020-12-05 06:02

I need to code an iOS app that sends data to server every 30 minutes. Can this work when the app is in the background? How reliable it can be?

3条回答
  •  被撕碎了的回忆
    2020-12-05 06:24

    There's no way to do it as service except some special cases provided by ios, as https://stackoverflow.com/users/1515108/im-lp said. But you can simulate it. This post answer how to:

    https://stackoverflow.com/a/19121250/2835520

    I hope it's gonna help!

提交回复
热议问题