Hello Team,
How can I identify if an iOS app has been terminated by the User or by iOS?
As per the documentation: https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1623111-applicationwillterminatewill get called irrespective of the fact the app has been killed by the User or by iOS.
Also, to note I'm not using any UIBackgroundModes in my application.
I've got a requirement where I want to save some data in NSUserDefaults only if the System(iOS) has terminated the app. Is there any way I can determine that?
Thanks!