Answer the question
In order to leave comments, you need to log in
How to implement a background task when the application is turned off?
Hello. There was a need to implement a background task.
The purpose of the function is to check the presence of elements in the array. If there is something there, send a notification.
Tried via:
DispatchQueue.background(delay: 10.0, completion:{ функция })
Answer the question
In order to leave comments, you need to log in
IT IS FORBIDDEN! And quite correctly, if I closed the application, I must be sure that it will not work from the word at all, otherwise this is already some kind of Bucket coming out.
BackgroundFetching is only about a minimized application.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question