How to terminate Live Activities before the app process is killed
Hi everyone,
I'm currently working on an iOS app and running into an issue with Live Activities (Dynamic Island).
I want to close all Live Activities right before the app process gets terminated. However, I found that applicationWillTerminate is not triggered when users swipe up to force quit the app. That means I cannot execute code to end Live Activities in this scenario.
Are there any reliable workarounds or official solutions to resolve this problem? Any suggestions would be greatly appreciated.
Thanks in advance!