Prevent Screen Recording From Capturing Anything In Your App
Daily Coding Tip 269
It’s pretty easy to know whether the screen is currently being recorded by getting the value of UIScreen.main.isCaptured.
The problem with this is that I have to know when to check it.
My first version of this code involved monitoring changes in the current scene phase. If the phase had changed to .active, the app had …


