funcstartRecording(){letrecorder=RPScreenRecorder.shared()recorder.startRecording(withMicrophoneEnabled:false,handler:{(error)inifletunwrappedError=error{print(unwrappedError.localizedDescription)}else{self.videoRecButton.addTarget(self,action:#selector(self.stopRecording),for:.touchUpInside)}})