Reputation: 1794
I have an iOS application written in swift that leads the user through a series of questions. After the questions are finished, the app is done at this point. Later on an alarm will go off triggering the app to activate again. The issue is that I'm not sure how to exit the application once the questions are complete. I need to trigger the app to exit and go to the background. I've been fiddling around with an unwind segue but that doesn't go all the way back to exiting the app from what I've seen.
Can anybody give me a push in the right direction?
Upvotes: 0
Views: 1351
Reputation: 7400
You can only exit the app using a private API. You really shouldn't force a user out of your app.
Upvotes: 2