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?
Normally RPScreenRecorder is not compatible with AVplayer. That might be the cause of what you are going through
It is said in actual Documentation here: Here