@@ -53,7 +53,7 @@ extension AppDelegate: UNUserNotificationCenterDelegate {
|
||||
if let alarmVC = storyboard.instantiateViewController(withIdentifier: "LiveAlarmViewController") as? LiveAlarmViewController,
|
||||
let tabBarController = rootViewController as? UITabBarController,
|
||||
let navController = tabBarController.selectedViewController as? UINavigationController {
|
||||
print(2)
|
||||
|
||||
// we can modify variable of the new view controller using notification data
|
||||
// (eg: title of notification)
|
||||
//alarmVC.senderDisplayName = response.notification.request.content.title
|
||||
|
||||
Reference in New Issue
Block a user