iOS Behavior
このコンテンツはまだあなたの言語で利用できません。
How iOS protection works
Section titled “How iOS protection works”On iOS, the plugin adds a temporary native overlay while the app resigns active. That overlay is what appears in the app switcher snapshot instead of your real interface.
This means the plugin protects:
- the app switcher preview
- the snapshot iOS keeps when your app moves to the background
What it does not do
Section titled “What it does not do”iOS does not offer the same screenshot blocking API as Android. The plugin cannot prevent a user from taking a screenshot while actively using the app.
If you need stronger policy controls on iOS, combine this plugin with app-level choices such as:
- masking especially sensitive UI before presenting it
- minimizing sensitive data retention on screen
- clearing temporary values when the app backgrounds
No extra iOS configuration is required after installation and cap sync.
Example flow
Section titled “Example flow”import { PrivacyScreen } from '@capgo/capacitor-privacy-screen';
await PrivacyScreen.enable();For most apps, even this explicit call is optional because the plugin starts enabled by default.