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 …
Keep reading with a 7-day free trial
Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

