Background fetch
在iOS 系統當中,只有少數幾個狀況可以允許你的app 在背景做事:
- Audio and AirPlay
- Location updates
- Voice over IP
- Newsstand downloads
- External accessory communication
- Uses Bluetooth LE accessories
- Acts as a Bluetooth LE accessory
- Background fetch
- Remote notifications
其中,Background fetch 這個選擇,是希望你的app 在沒有使用的狀態下,也有機會可以更新資料,讓使用者下次回到你的app 時,可以看到最新的資料。
更詳細的介紹可以參考WWDC 2013 – Session 204。