Используйте
recorder.pause()
Для Пауза recording
, и Вы должны проверить это
Управление из AppDelegate метод, который является
func applicationWillEnterForeground(_ application: UIApplication) {
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
}
, вы должны возобновить отсюда с использованием NotificationCenter
.