I play music in my app using AVAudioPlayer.
In a particular view controller, I need to record audio. In the viewDidAppear(_:) of the view controller, I s
viewDidAppear(_:)