ScreenCaptureDetector Objective-C and swift code to check if the screen is getting recorded or mirrored in iOS.