I have an application that runs in the background capturing the user\'s location using CoreLocation. I want to save the data when the app is closed by the user.
When