Local notification: Add option

Hey there,


how do I add a option to a local notification that you can click on it (or a button) an it will go to a view of the app which is not the initial view controller?


here my code so far:

let center = UNUserNotificationCenter.current()
var content = UNMutableNotificationContent()
        content.title = "Title)"
        content.body = "Body"
let trigger = UNTimeIntervalNotificationTrigger(timeInterval: 300, repeats: false)
let uuidString = UUID().uuidString
let request = UNNotificationRequest(identifier: uuidString, content: content, trigger: trigger)
center.add(request) { (error) in
[...]
}


Thanks for helping!