iOS background Location not sending http request

后端 未结 3 467
春和景丽
春和景丽 2021-01-31 06:27

My app needs to track the users location in the background but it is failing to send a \'get\' request. The http request gets sent immediately when the app comes to the foregrou

3条回答
  •  醉酒成梦
    2021-01-31 06:44

    When you're application is running in the background you can finish a HTTP request you started before you entered the background but you cannot initiate a new request. You can only initiate certain network operations while in the background (voip, newsstand).

提交回复
热议问题