how to call function after every 1 hour?(Swift). Background fetch work when app is terminated?
i am making app. which providing functionality of fetch data after every one hour. so even when my app terminate how can i call that function? after too much searching i found Background fetching by performFetchWithCompletionHandler but i want to know that this function will work if my app is terminated?what i mean is if my app is in closed or terminated state how can i call function automatically? You can't do anything if your app is in terminated state. Apple is not allowing anything (except receiving notification) in terminated or closed state. You are also restricted for background