In my application, I use AVPlayer to play videos. However, I do not use FairPlay.
I tried to use RPScreenRecorder to detect whether screen recording is on:
[RPScreenRecorder sharedRecorder].isRecording
but that does not work.
Does anyone know how to get whether screen recording is on?
Get the window of your app delegate and check isCaptured:
That will indicate if anything is "using" the screen: RPScreenRecorder, airplay, or mirroring.