I am implementing notifications in my app and I can not figure out how to go to a specific view controller when the user presses on the notification. Since iOS 13, my app is using SceneDelegate, but the function: userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void)
only gets called on in the AppDelegate.
How can I go to a specific view controller when the user taps on the notification when my app uses SceneDelegate? All the resources I found online dealt with iOS 12 or lower versions where you choose the view controller from AppDelegate.