# Hide app content in multitasking switcher

**URL:** <https://forum.ionicframework.com/t/hide-app-content-in-multitasking-switcher/149699>\
**Category:** ionic-v3\
**Created:** [December 7, 2018, 11:33am UTC](https://forum.ionicframework.com/t/hide-app-content-in-multitasking-switcher/149699 "2018-12-07T11:33:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![basti](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@basti](https://forum.ionicframework.com/u/basti)\
**Post date:** [December 7, 2018, 11:33am UTC](https://forum.ionicframework.com/t/hide-app-content-in-multitasking-switcher/149699/1 "2018-12-07T11:33:25Z")

</div>

Hey, I don’t want to show the informations inside the app when the user switches between different apps in the multitasking switcher.  
Similar to this here:

> **[How to control the Preview Screenshot in the iOS Multitasking Switcher](https://pinkstone.co.uk/how-to-control-the-preview-screenshot-in-the-ios-multitasking-switcher/)**
>
> Since iOS 7, when you double-tap the home button, little preview screens are shown above the app icon. Swipe them up and the app is closed. Those preview screens are not live though, they’re …

I tried

```auto
 platform.ready().then(() => {    
      this.platform.pause.subscribe(() => {
          console.log('[INFO] App paused');
          //change screen
      });

      this.platform.resume.subscribe(() => {
          console.log('[INFO] App resumed');
          //change screen back
      });
  });

```

“pause” and “resume” are firing, but the screen changes not fast enough, so the screenshot for the multitasking switcher shows the normal app screen.

Any ideas how to achieve this with ionic? Thanks!

---

<div class="post-metadata">

**Author:** ![nmshaikh](https://avatars.discourse-cdn.com/v4/letter/n/dec6dc/32.png) [@nmshaikh](https://forum.ionicframework.com/u/nmshaikh)\
**Post date:** [February 20, 2019, 9:35am UTC](https://forum.ionicframework.com/t/hide-app-content-in-multitasking-switcher/149699/2 "2019-02-20T09:35:00Z")

</div>

I’ve been searching for the same thing. So far, the following link has been the most helpful:

> [@\[Solved\] Show splashscreen on "pause" cordova event](https://forum.ionicframework.com/t/solved-show-splashscreen-on-pause-cordova-event/26488/3):
>
> Cool, thanks for that. Now more specifically: The reason I want to do that is because, when sending an app to the background, Android and iOS both take a screenshot of the state of the app. Problem is my app may display sensible information and I want to make sure they are not captured on those screenshots and stored temporarily somewhere on the device. That’s why I want to display the splashscreen on a “pause” cordova event and hide it again on “resume” event. Problem is, when I try, the scre…

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:07pm UTC](https://forum.ionicframework.com/t/hide-app-content-in-multitasking-switcher/149699/3 "2021-07-19T21:07:46Z")

</div>


