iOS 12: ReplayKit is broken
I have been using ReplayKit for all past updates, but now with iOS 12 my recordings sometimes work, sometimes don't... but usually they don't. Most of the time when I stop the recording this is what I get: a completely black screen. This hasn't happened to me before and it is extremely frustrating. This is how I use ReplayKit to record the screen: import ReplayKit class ViewController: UIViewController, AVCaptureVideoDataOutputSampleBufferDelegate, UIImagePickerControllerDelegate, UINavigationControllerDelegate, RPPreviewViewControllerDelegate { func startRecording() { func start() { guard