This article is an English version of an article I contributed to the official pamphlet of iOSDC Japan 2026 (iOS Developers Conference Japan 2026).
Introduction
Have you ever thought about what your app should do when it moves to the background? The moment a user leaves your app, iOS saves a snapshot of its screen. If that snapshot shows sensitive information, someone nearby could see it when the user casually opens the App Switcher. iOS also keeps these snapshots on the device. Regular apps can't access them, but they could potentially be extracted from a jailbroken device.
Apple's documentation states that apps should remove sensitive information when they enter the background. If you skip this step, users' personal information can be exposed without anyone meaning to.…