Exit an iOS application and not stay in the history of executed applications

Hi everyone.


Is it possible to exit an iOS application and not stay in the history of executed applications (multitasking)?


This need arises from the development of an application for victims of gender violence, and we wish that when a user presses a "quick exit" button, the application will close and not be between the history of the last executed applications, So that nobody (including the attacker himself) can consult the mobile and see that the application has been running.


Would it be possible to perform this behavior?

Replies

No, this is not possible.


The closest you can get is double tap the home button (to go into the app switcher) and swipe the app up.

One option here would be to give your app an ambiguous name and then have the ‘quick exit’ option display content for an innocuous interpretation of that name.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Thanks for your answer.

I will transfer this recommendation to the team in this application, and they will decide what to do.