I have video playing in my application which I don\'t want to be recorded. What Netflix application do is that they let the audio capture but not the video whi
I believe, Netflix takes advantage of the "FairPlay Streaming" technology provided by Apple. According to Apple Documentation
If your application uses FairPlay Streaming (FPS) your video content will automatically not be captured by the iOS 11 screen recording feature or QuickTime Player on macOS. The portion of your application that is playing the content will be blacked out.
Note: FairPlay Streaming will only provide protection for the video portion of your content. To prevent capture of the audio portion you should still use the UIScreen APIs discussed in this document to provide an appropriate message to the user if screen capture begins.
One can get an in-depth understanding of FPS from the link below :
https://developer.apple.com/streaming/fps/
Any application can incorporate FPS in order to achieve same results as Netflix.