A POC for how to prevent screenshots (Actually shows a black screenshot) & screen recording (Hide sensitive content) for an iOS app with sensitive information.
- Show black view screenshot.
- Hide all content when start screen recording.
- Hide all content when switching between apps.
- Black screenshots works from iOS 13+.
- Hide content in screen recording works from iOS 11+.
- Hide content on app switching working on iOS 2+.