Will iOS launch my app into the background if it was force-quit by the user?

后端 未结 7 773
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-22 00:46

I am triggering a background fetch by using the content-available flag on a push notification. I have the fetch and remote-notification

7条回答
  •  甜味超标
    2020-11-22 01:17

    Actually if you need to test background fetch you need to enable one option in scheme:

    enabling bg fetch

    Another way how you can test it: simulate bg fetch

    Here is full information about this new feature: http://www.objc.io/issue-5/multitasking.html

提交回复
热议问题