How to blur iOS/Android app view in app switcher

When A app has been in background, if the app view is clear, user’s data what was inputed can be seen.
I want to blur the view in app switcher because it feels dangerous for security.

for example, like this image.

Would you know how to blur the app view in app switcher?