I want to kill my application if it is in the suspended mode for more than 30mins so that when it relaunches it fetches new data. I have looked all over but wasn't able to find a solution to it. If anyone can recommend something it will be a huge help.
exit(0)
This above command is not recommended and apple will reject the application. Then there is the functionality of BGAppRefreshTask
for iOS13 and above or minimumBackgroundFetchInterval
for iOS less than iOS13, but still how to actually kill the application programmatically? Any help would be such a plus. Thanks