I wonder if it's possible with swift, start a function at a certain time, especially if the app is closed.
I tried a bit around but did not find anything useful.
I hope you can help me. Thanks
I wonder if it's possible with swift, start a function at a certain time, especially if the app is closed.
I tried a bit around but did not find anything useful.
I hope you can help me. Thanks
You can try to override functions like
applicationDidEnterBackground
applicationWillTerminate
applicationDidBecomeActive