Question regarding replay kit

Hello,


Has anyone tried this tutorial (https://www.appcoda.com/replaykit/)building the screen and audio capture on the app? I followed the tutorial and successfully built the app. The recording function its running (based on the terminal saying "starting to record) but it had no way to stop or see the result. (Not too sure its the app is crashed or not?)


I also added the following in the recording function:


DispatchQueue.main.async {

self.micToggle.isEnabled = false

self.recordButton.backgroundColor = UIColor.red

self.statusLabel.text = "Recording..."

self.statusLabel.textColor = UIColor.red

}

Based on the modification but it still not working...


Can anyone give me some help?


Thanks in advacne!