简体   繁体   中英

Can an iOS app send HTTP requests when not visible?

I have an issue with an iOS development company that claims the app they are building for us cannot keep sending HTTP requests to our back-end with a timer when not visible (eg as soon as I press the home button or go check my emails) due to operating system limitations.

Is it true or are they being lazy?

I understand if the app gets removed from memory whenever memory is needed by other apps after a while, but no request being made at all as soon as we go check our emails or show the home screen, really?

So to put my question clearly: When is a regular (non-VOIP app) limited by the iOS operating system in the execution of its code and sending of requests?

Thanks!

您可以注册该应用程序以进行后台处理,这时操作系统将定期唤醒该应用程序,然后可以运行http请求,但您无法控制将唤醒应用程序的时间表以进行操作系统优化,使用模式,电池电量,网络可用性等方面的信息

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM