Swift Background Fetch Tutorial

preview_player
Показать описание
Tutorial on doing using the background fetch to get the current time and call an API in Swift.

Рекомендации по теме
Комментарии
Автор

Thanks, really nice tutorial. Very well explained and goes to the point.

felipeuy
Автор

I need to access the location before I fetch some data. Is it possible inside the Fetch tasks's execution window? How about sending data. Are we allowed to use it for that purpose as well?

Buli
Автор

A very nice and simple step by step tutorial.
I have a query regarding. if I want to trigger function on push notification the app in kill mode.

diyajoshi
Автор

Perfect tutorial. I was able to understand so effortlessly. please make more videos as because Apple documentation seems useless.Would you also be to guide me how to do a background fetch on Healthkit data such as the heart rate. When my app is in background and the healthkit has a new heart rate logged, my app is able to update itself. Many thanks for the tutorial

biswa
Автор

How should i make api when app terminated ?

aravindhann
Автор

Not working. I get this message:
*** Terminating app due to uncaught exception 'NSGenericException', reason: 'Completion handler blocks are not supported in background sessions. Use a delegate instead.'


edit: It's not working when you are using a custom URLSession... wtf

MrVulkanier
Автор

Hi Seemu, Could you pls help me : How to make request every 30min ?

tinhdoanxuan
Автор

It seems good. But practically, background fetch is not called for timeInterval.

kalyanchakriM
Автор

ngl i chose this video over another for the thumbnail

ericlove